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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 901233003: Enable Cloud Import feature by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update device handler test to use new flag. Created 5 years, 10 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 | « chromeos/chromeos_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('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 #include "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 // TODO(rsorokin): alphabetize all of these switches so they 9 // TODO(rsorokin): alphabetize all of these switches so they
10 // match the order from the .h file 10 // match the order from the .h file
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Time before a machine at OOBE is considered derelict. 47 // Time before a machine at OOBE is considered derelict.
48 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; 48 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout";
49 49
50 // Time before a derelict machines starts demo mode. 50 // Time before a derelict machines starts demo mode.
51 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; 51 const char kDerelictIdleTimeout[] = "derelict-idle-timeout";
52 52
53 // Disables wallpaper boot animation (except of OOBE case). 53 // Disables wallpaper boot animation (except of OOBE case).
54 const char kDisableBootAnimation[] = "disable-boot-animation"; 54 const char kDisableBootAnimation[] = "disable-boot-animation";
55 55
56 // Disables cloud backup feature.
57 const char kDisableCloudImport[] = "disable-cloud-import";
58
56 // Disables the ChromeOS demo. 59 // Disables the ChromeOS demo.
57 const char kDisableDemoMode[] = "disable-demo-mode"; 60 const char kDisableDemoMode[] = "disable-demo-mode";
58 61
59 // Disable HID-detection OOBE screen. 62 // Disable HID-detection OOBE screen.
60 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; 63 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe";
61 64
62 // Avoid doing expensive animations upon login. 65 // Avoid doing expensive animations upon login.
63 const char kDisableLoginAnimations[] = "disable-login-animations"; 66 const char kDisableLoginAnimations[] = "disable-login-animations";
64 67
65 // Disable login/lock UI (user pods) scrolling into view on JS side when virtual 68 // Disable login/lock UI (user pods) scrolling into view on JS side when virtual
(...skipping 24 matching lines...) Expand all
90 // Disables wake on wifi features. 93 // Disables wake on wifi features.
91 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; 94 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi";
92 95
93 // Disables notifications about captive portals in session. 96 // Disables notifications about captive portals in session.
94 const char kDisableNetworkPortalNotification[] = 97 const char kDisableNetworkPortalNotification[] =
95 "disable-network-portal-notification"; 98 "disable-network-portal-notification";
96 99
97 // Enables switching between different cellular carriers from the UI. 100 // Enables switching between different cellular carriers from the UI.
98 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; 101 const char kEnableCarrierSwitching[] = "enable-carrier-switching";
99 102
100 // Enables cloud backup feature.
101 const char kEnableCloudBackup[] = "enable-cloud-backup";
102
103 // Enables consumer management, which allows user to enroll, remotely lock and 103 // Enables consumer management, which allows user to enroll, remotely lock and
104 // locate the device. 104 // locate the device.
105 const char kEnableConsumerManagement[] = "enable-consumer-management"; 105 const char kEnableConsumerManagement[] = "enable-consumer-management";
106 106
107 // If this switch is set, the device cannot be remotely disabled by its owner. 107 // If this switch is set, the device cannot be remotely disabled by its owner.
108 const char kDisableDeviceDisabling[] = "disable-device-disabling"; 108 const char kDisableDeviceDisabling[] = "disable-device-disabling";
109 109
110 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint 110 // If this switch is set, Chrome OS login screen uses |EmbeddedSignin| endpoint
111 // of GAIA. 111 // of GAIA.
112 const char kEnableEmbeddedSignin[] = "enable-embedded-signin"; 112 const char kEnableEmbeddedSignin[] = "enable-embedded-signin";
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 } 330 }
331 if (option == "3") { 331 if (option == "3") {
332 return base::MemoryPressureObserverChromeOS:: 332 return base::MemoryPressureObserverChromeOS::
333 THRESHOLD_AGGRESSIVE_TAB_DISCARD; 333 THRESHOLD_AGGRESSIVE_TAB_DISCARD;
334 } 334 }
335 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE; 335 return base::MemoryPressureObserverChromeOS::THRESHOLD_AGGRESSIVE;
336 } 336 }
337 337
338 } // namespace switches 338 } // namespace switches
339 } // namespace chromeos 339 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698