OLD | NEW |
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 #include "chromeos/chromeos_switches.h" | 5 #include "chromeos/chromeos_switches.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 // "Hide" value for kCrosRegionsMode (VPD values are hidden). | 95 // "Hide" value for kCrosRegionsMode (VPD values are hidden). |
96 const char kCrosRegionsModeHide[] = "hide"; | 96 const char kCrosRegionsModeHide[] = "hide"; |
97 | 97 |
98 // Optional value for Data Saver prompt on cellular networks. | 98 // Optional value for Data Saver prompt on cellular networks. |
99 const char kDataSaverPromptDemoMode[] = "demo"; | 99 const char kDataSaverPromptDemoMode[] = "demo"; |
100 | 100 |
101 // Forces the stub implementation of dbus clients. | 101 // Forces the stub implementation of dbus clients. |
102 const char kDbusStub[] = "dbus-stub"; | 102 const char kDbusStub[] = "dbus-stub"; |
103 | 103 |
104 // Comma-separated list of dbus clients that use real implementations, even | |
105 // when running on Linux desktop, for example "bluetooth,shill". See | |
106 // chromeos/dbus/dbus_client_types.cc for names. | |
107 const char kDbusRealClients[] = "dbus-real-clients"; | |
108 | |
109 // DEPRECATED: Use --dbus-real-clients above. | |
110 // TODO(jamescook): Delete this code after M56 branches. | |
111 const char kDbusUnstubClients[] = "dbus-unstub-clients"; | |
112 | |
113 // Indicates that the wallpaper images specified by | 104 // Indicates that the wallpaper images specified by |
114 // kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not | 105 // kAshDefaultWallpaper{Large,Small} are OEM-specific (i.e. they are not |
115 // downloadable from Google). | 106 // downloadable from Google). |
116 const char kDefaultWallpaperIsOem[] = "default-wallpaper-is-oem"; | 107 const char kDefaultWallpaperIsOem[] = "default-wallpaper-is-oem"; |
117 | 108 |
118 // Default large wallpaper to use (as path to trusted, non-user-writable JPEG | 109 // Default large wallpaper to use (as path to trusted, non-user-writable JPEG |
119 // file). | 110 // file). |
120 const char kDefaultWallpaperLarge[] = "default-wallpaper-large"; | 111 const char kDefaultWallpaperLarge[] = "default-wallpaper-large"; |
121 | 112 |
122 // Default small wallpaper to use (as path to trusted, non-user-writable JPEG | 113 // Default small wallpaper to use (as path to trusted, non-user-writable JPEG |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 473 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
483 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 474 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
484 return false; | 475 return false; |
485 | 476 |
486 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 477 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
487 kTestCrosGaiaIdMigrationStarted; | 478 kTestCrosGaiaIdMigrationStarted; |
488 } | 479 } |
489 | 480 |
490 } // namespace switches | 481 } // namespace switches |
491 } // namespace chromeos | 482 } // namespace chromeos |
OLD | NEW |