summaryrefslogtreecommitdiff
path: root/chromium/media/base/status_codes.cc
blob: 2aba1c20da3a155a93e5967077d4f4a917c7ad30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "media/base/status_codes.h"

namespace media {

// TODO(tmathmeyer) consider a way to get the names, since we don't have
// the easy c++20 way yet.
std::ostream& operator<<(std::ostream& os, const StatusCode& code) {
  return os << std::hex << static_cast<StatusCodeType>(code);
}

}  // namespace media