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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2592593002: Remove the flag to disable Quick View, since it has been released. (Closed)
Patch Set: Format. Created 4 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
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 <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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 // Disables the Chrome OS demo. 138 // Disables the Chrome OS demo.
139 const char kDisableDemoMode[] = "disable-demo-mode"; 139 const char kDisableDemoMode[] = "disable-demo-mode";
140 140
141 // If this switch is set, the device cannot be remotely disabled by its owner. 141 // If this switch is set, the device cannot be remotely disabled by its owner.
142 const char kDisableDeviceDisabling[] = "disable-device-disabling"; 142 const char kDisableDeviceDisabling[] = "disable-device-disabling";
143 143
144 // Disables notification when device is in end of life status. 144 // Disables notification when device is in end of life status.
145 const char kDisableEolNotification[] = "disable-eol-notification"; 145 const char kDisableEolNotification[] = "disable-eol-notification";
146 146
147 // Disables quick view in Files app.
148 const char kDisableFilesQuickView[] = "disable-files-quick-view";
149
150 // Disables GAIA services such as enrollment and OAuth session restore. Used by 147 // Disables GAIA services such as enrollment and OAuth session restore. Used by
151 // 'fake' telemetry login. 148 // 'fake' telemetry login.
152 const char kDisableGaiaServices[] = "disable-gaia-services"; 149 const char kDisableGaiaServices[] = "disable-gaia-services";
153 150
154 // Disables HID-detection OOBE screen. 151 // Disables HID-detection OOBE screen.
155 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe"; 152 const char kDisableHIDDetectionOnOOBE[] = "disable-hid-detection-on-oobe";
156 153
157 // Avoid doing expensive animations upon login. 154 // Avoid doing expensive animations upon login.
158 const char kDisableLoginAnimations[] = "disable-login-animations"; 155 const char kDisableLoginAnimations[] = "disable-login-animations";
159 156
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; 224 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt";
228 225
229 // Shows additional checkboxes in Settings to enable Chrome OS accessibility 226 // Shows additional checkboxes in Settings to enable Chrome OS accessibility
230 // features that haven't launched yet. 227 // features that haven't launched yet.
231 const char kEnableExperimentalAccessibilityFeatures[] = 228 const char kEnableExperimentalAccessibilityFeatures[] =
232 "enable-experimental-accessibility-features"; 229 "enable-experimental-accessibility-features";
233 230
234 // Enables sharing assets for installed default apps. 231 // Enables sharing assets for installed default apps.
235 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; 232 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing";
236 233
237 // Enables quick view in Files app.
238 const char kEnableFilesQuickView[] = "enable-files-quick-view";
239
240 // Enables animated transitions during first-run tutorial. 234 // Enables animated transitions during first-run tutorial.
241 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; 235 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions";
242 236
243 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode 237 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode
244 // rather than the kiosk app mode. 238 // rather than the kiosk app mode.
245 const char kEnableKioskMode[] = "enable-kiosk-mode"; 239 const char kEnableKioskMode[] = "enable-kiosk-mode";
246 240
247 // Enables tethering to nearby LTE devices. 241 // Enables tethering to nearby LTE devices.
248 const char kEnableTether[] = "enable-tether"; 242 const char kEnableTether[] = "enable-tether";
249 243
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 468 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
475 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 469 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
476 return false; 470 return false;
477 471
478 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 472 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
479 kTestCrosGaiaIdMigrationStarted; 473 kTestCrosGaiaIdMigrationStarted;
480 } 474 }
481 475
482 } // namespace switches 476 } // namespace switches
483 } // namespace chromeos 477 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698