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

Side by Side Diff: chromecast/base/chromecast_switches.h

Issue 2119583002: [Chromecast] Set Cast Ozone display size correctly first time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 5 #ifndef CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
6 #define CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 6 #define CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 extern const char kAlsaOutputPeriodSize[]; 43 extern const char kAlsaOutputPeriodSize[];
44 extern const char kAlsaOutputStartThreshold[]; 44 extern const char kAlsaOutputStartThreshold[];
45 extern const char kAlsaOutputAvailMin[]; 45 extern const char kAlsaOutputAvailMin[];
46 extern const char kAlsaCheckCloseTimeout[]; 46 extern const char kAlsaCheckCloseTimeout[];
47 extern const char kAlsaEnableUpsampling[]; 47 extern const char kAlsaEnableUpsampling[];
48 extern const char kAlsaFixedOutputSampleRate[]; 48 extern const char kAlsaFixedOutputSampleRate[];
49 49
50 // Memory pressure switches 50 // Memory pressure switches
51 extern const char kMemPressureSystemReservedKb[]; 51 extern const char kMemPressureSystemReservedKb[];
52 52
53 // GPU switches
54 extern const char kInitialScreenWidth[];
55 extern const char kInitialScreenHeight[];
56
53 } // namespace switches 57 } // namespace switches
54 58
55 namespace chromecast { 59 namespace chromecast {
56 60
57 // Gets boolean value from switch |switch_string|. 61 // Gets boolean value from switch |switch_string|.
58 // --|switch_string| -> true 62 // --|switch_string| -> true
59 // --|switch_string|="true" -> true 63 // --|switch_string|="true" -> true
60 // --|switch_string|="false" -> false 64 // --|switch_string|="false" -> false
61 // no switch named |switch_string| -> |default_value| 65 // no switch named |switch_string| -> |default_value|
62 bool GetSwitchValueBoolean(const std::string& switch_string, 66 bool GetSwitchValueBoolean(const std::string& switch_string,
63 const bool default_value); 67 const bool default_value);
64 68
65 } // namespace chromecast 69 } // namespace chromecast
66 70
67 #endif // CHROMECAST_BASE_CHROMECAST_SWITCHES_H_ 71 #endif // CHROMECAST_BASE_CHROMECAST_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/base/chromecast_switches.cc » ('j') | chromecast/base/chromecast_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698