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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 1466143002: arc-bridge: Enable ARC with a command-line flag (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Rebased to ToT Created 5 years 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') | components/BUILD.gn » ('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 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 // TODO(rsorokin): alphabetize all of these switches so they 10 // TODO(rsorokin): alphabetize all of these switches so they
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; 97 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi";
98 98
99 // Disables notifications about captive portals in session. 99 // Disables notifications about captive portals in session.
100 const char kDisableNetworkPortalNotification[] = 100 const char kDisableNetworkPortalNotification[] =
101 "disable-network-portal-notification"; 101 "disable-network-portal-notification";
102 102
103 // EAFE url and path to use for Easy bootstrapping. 103 // EAFE url and path to use for Easy bootstrapping.
104 const char kEafeUrl[] = "eafe-url"; 104 const char kEafeUrl[] = "eafe-url";
105 const char kEafePath[] = "eafe-path"; 105 const char kEafePath[] = "eafe-path";
106 106
107 // Enables starting the ARC instance upon session start.
108 const char kEnableArc[] = "enable-arc";
109
107 // Enables consumer management, which allows user to enroll, remotely lock and 110 // Enables consumer management, which allows user to enroll, remotely lock and
108 // locate the device. 111 // locate the device.
109 const char kEnableConsumerManagement[] = "enable-consumer-management"; 112 const char kEnableConsumerManagement[] = "enable-consumer-management";
110 113
111 // If this switch is set, the device cannot be remotely disabled by its owner. 114 // If this switch is set, the device cannot be remotely disabled by its owner.
112 const char kDisableDeviceDisabling[] = "disable-device-disabling"; 115 const char kDisableDeviceDisabling[] = "disable-device-disabling";
113 116
114 // If this switch is set, the new Korean IME will not be available in 117 // If this switch is set, the new Korean IME will not be available in
115 // chrome://settings/languages. 118 // chrome://settings/languages.
116 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; 119 const char kDisableNewKoreanIme[] = "disable-new-korean-ime";
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 if (option == kAggressiveTabDiscardThreshold) 364 if (option == kAggressiveTabDiscardThreshold)
362 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE_TAB_DISCARD; 365 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE_TAB_DISCARD;
363 if (option == kAggressiveThreshold) 366 if (option == kAggressiveThreshold)
364 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE; 367 return MemoryPressureMonitor::THRESHOLD_AGGRESSIVE;
365 368
366 return MemoryPressureMonitor::THRESHOLD_DEFAULT; 369 return MemoryPressureMonitor::THRESHOLD_DEFAULT;
367 } 370 }
368 371
369 } // namespace switches 372 } // namespace switches
370 } // namespace chromeos 373 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698