Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chromecast/media/base/media_caps.cc

Issue 2523663002: Remove remaining base dependencies from base/numerics (Closed)
Patch Set: fix gcc compile Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/time/time.h ('k') | components/subresource_filter/core/common/unindexed_ruleset.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromecast/media/base/media_caps.h" 5 #include "chromecast/media/base/media_caps.h"
6 6
7 #include "base/logging.h"
7 #include "chromecast/public/avsettings.h" 8 #include "chromecast/public/avsettings.h"
8 9
9 namespace chromecast { 10 namespace chromecast {
10 namespace media { 11 namespace media {
11 12
12 unsigned int MediaCapabilities::g_hdmi_codecs = 0; 13 unsigned int MediaCapabilities::g_hdmi_codecs = 0;
13 int MediaCapabilities::g_hdcp_version = 0; 14 int MediaCapabilities::g_hdcp_version = 0;
14 int MediaCapabilities::g_supported_eotfs = 0; 15 int MediaCapabilities::g_supported_eotfs = 0;
15 int MediaCapabilities::g_dolby_vision_flags = 0; 16 int MediaCapabilities::g_dolby_vision_flags = 0;
16 bool MediaCapabilities::g_cur_mode_supports_hdr = false; 17 bool MediaCapabilities::g_cur_mode_supports_hdr = false;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 bool MediaCapabilities::CurrentHdmiModeSupportsDolbyVision() { 106 bool MediaCapabilities::CurrentHdmiModeSupportsDolbyVision() {
106 return g_cur_mode_supports_dv; 107 return g_cur_mode_supports_dv;
107 } 108 }
108 109
109 gfx::Size MediaCapabilities::GetScreenResolution() { 110 gfx::Size MediaCapabilities::GetScreenResolution() {
110 return g_screen_resolution; 111 return g_screen_resolution;
111 } 112 }
112 113
113 } // namespace media 114 } // namespace media
114 } // namespace chromecast 115 } // namespace chromecast
OLDNEW
« no previous file with comments | « base/time/time.h ('k') | components/subresource_filter/core/common/unindexed_ruleset.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698