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

Side by Side Diff: chromeos/chromeos_switches.h

Issue 2694923005: Appropriate handling for Cellular First devices. (Closed)
Patch Set: rebased Created 3 years, 9 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
« no previous file with comments | « chrome/browser/ui/webui/help/help_utils_chromeos.cc ('k') | chromeos/chromeos_switches.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_CHROMEOS_SWITCHES_H_ 5 #ifndef CHROMEOS_CHROMEOS_SWITCHES_H_
6 #define CHROMEOS_CHROMEOS_SWITCHES_H_ 6 #define CHROMEOS_CHROMEOS_SWITCHES_H_
7 7
8 #include "base/memory/memory_pressure_monitor_chromeos.h" 8 #include "base/memory/memory_pressure_monitor_chromeos.h"
9 #include "chromeos/chromeos_export.h" 9 #include "chromeos/chromeos_export.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 namespace switches { 12 namespace switches {
13 13
14 // Switches that are used in src/chromeos must go here. 14 // Switches that are used in src/chromeos must go here.
15 // Other switches that apply just to chromeos code should go here also (along 15 // Other switches that apply just to chromeos code should go here also (along
16 // with any code that is specific to the chromeos system). Chrome OS specific 16 // with any code that is specific to the chromeos system). Chrome OS specific
17 // UI should be in src/ash. 17 // UI should be in src/ash.
18 18
19 // Note: If you add a switch, consider if it needs to be copied to a subsequent 19 // Note: If you add a switch, consider if it needs to be copied to a subsequent
20 // command line if the process executes a new copy of itself. (For example, 20 // command line if the process executes a new copy of itself. (For example,
21 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) 21 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
22 22
23 // Please keep alphabetized. 23 // Please keep alphabetized.
24 CHROMEOS_EXPORT extern const char kAggressiveCacheDiscardThreshold[]; 24 CHROMEOS_EXPORT extern const char kAggressiveCacheDiscardThreshold[];
25 CHROMEOS_EXPORT extern const char kAggressiveTabDiscardThreshold[]; 25 CHROMEOS_EXPORT extern const char kAggressiveTabDiscardThreshold[];
26 CHROMEOS_EXPORT extern const char kAggressiveThreshold[]; 26 CHROMEOS_EXPORT extern const char kAggressiveThreshold[];
27 CHROMEOS_EXPORT extern const char kAllowDataRoamingByDefault[];
28 CHROMEOS_EXPORT extern const char kAllowFailedPolicyFetchForTest[]; 27 CHROMEOS_EXPORT extern const char kAllowFailedPolicyFetchForTest[];
29 CHROMEOS_EXPORT extern const char kAllowRAInDevMode[]; 28 CHROMEOS_EXPORT extern const char kAllowRAInDevMode[];
30 CHROMEOS_EXPORT extern const char kAppAutoLaunched[]; 29 CHROMEOS_EXPORT extern const char kAppAutoLaunched[];
31 CHROMEOS_EXPORT extern const char kAppOemManifestFile[]; 30 CHROMEOS_EXPORT extern const char kAppOemManifestFile[];
32 CHROMEOS_EXPORT extern const char kArcAvailability[]; 31 CHROMEOS_EXPORT extern const char kArcAvailability[];
33 CHROMEOS_EXPORT extern const char kArcAvailable[]; 32 CHROMEOS_EXPORT extern const char kArcAvailable[];
34 CHROMEOS_EXPORT extern const char kArtifactsDir[]; 33 CHROMEOS_EXPORT extern const char kArtifactsDir[];
35 CHROMEOS_EXPORT extern const char kAshWebUIInit[]; 34 CHROMEOS_EXPORT extern const char kAshWebUIInit[];
35 CHROMEOS_EXPORT extern const char kCellularFirst[];
36 CHROMEOS_EXPORT extern const char kChildWallpaperLarge[]; 36 CHROMEOS_EXPORT extern const char kChildWallpaperLarge[];
37 CHROMEOS_EXPORT extern const char kChildWallpaperSmall[]; 37 CHROMEOS_EXPORT extern const char kChildWallpaperSmall[];
38 CHROMEOS_EXPORT extern const char kConservativeThreshold[]; 38 CHROMEOS_EXPORT extern const char kConservativeThreshold[];
39 CHROMEOS_EXPORT extern const char kCrosRegion[]; 39 CHROMEOS_EXPORT extern const char kCrosRegion[];
40 CHROMEOS_EXPORT extern const char kCrosRegionsMode[]; 40 CHROMEOS_EXPORT extern const char kCrosRegionsMode[];
41 CHROMEOS_EXPORT extern const char kCrosRegionsModeHide[]; 41 CHROMEOS_EXPORT extern const char kCrosRegionsModeHide[];
42 CHROMEOS_EXPORT extern const char kCrosRegionsModeOverride[]; 42 CHROMEOS_EXPORT extern const char kCrosRegionsModeOverride[];
43 CHROMEOS_EXPORT extern const char kDataSaverPromptDemoMode[]; 43 CHROMEOS_EXPORT extern const char kDataSaverPromptDemoMode[];
44 CHROMEOS_EXPORT extern const char kDbusStub[]; 44 CHROMEOS_EXPORT extern const char kDbusStub[];
45 CHROMEOS_EXPORT extern const char kDefaultWallpaperIsOem[]; 45 CHROMEOS_EXPORT extern const char kDefaultWallpaperIsOem[];
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled(); 140 CHROMEOS_EXPORT bool MemoryPressureHandlingEnabled();
141 141
142 // Returns thresholds for determining if the system is under memory pressure. 142 // Returns thresholds for determining if the system is under memory pressure.
143 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds 143 CHROMEOS_EXPORT base::chromeos::MemoryPressureMonitor::MemoryPressureThresholds
144 GetMemoryPressureThresholds(); 144 GetMemoryPressureThresholds();
145 145
146 // Returns true if flags are set indicating that stored user keys are being 146 // Returns true if flags are set indicating that stored user keys are being
147 // converted to GAIA IDs. 147 // converted to GAIA IDs.
148 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted(); 148 CHROMEOS_EXPORT bool IsGaiaIdMigrationStarted();
149 149
150 // Returns true if this is a Cellular First device.
151 CHROMEOS_EXPORT bool IsCellularFirstDevice();
152
150 } // namespace switches 153 } // namespace switches
151 } // namespace chromeos 154 } // namespace chromeos
152 155
153 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_ 156 #endif // CHROMEOS_CHROMEOS_SWITCHES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/help_utils_chromeos.cc ('k') | chromeos/chromeos_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698