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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 11151036: Add --disable-drive-prefetch flag for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 // is used to override OOBE/sign in WebUI init type. 1372 // is used to override OOBE/sign in WebUI init type.
1373 // Possible values: parallel|postpone. Default: parallel. 1373 // Possible values: parallel|postpone. Default: parallel.
1374 const char kAshWebUIInit[] = "ash-webui-init"; 1374 const char kAshWebUIInit[] = "ash-webui-init";
1375 1375
1376 // Enables switching between different cellular carriers from the UI. 1376 // Enables switching between different cellular carriers from the UI.
1377 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; 1377 const char kEnableCarrierSwitching[] = "enable-carrier-switching";
1378 1378
1379 // Disables wallpaper boot animation (except of OOBE case). 1379 // Disables wallpaper boot animation (except of OOBE case).
1380 const char kDisableBootAnimation[] = "disable-boot-animation"; 1380 const char kDisableBootAnimation[] = "disable-boot-animation";
1381 1381
1382 // Disables file prefetching in Google Drive Client for Chrome OS.
1383 const char kDisableDrivePrefetch[] = "disable-drive-prefetch";
1384
1382 // Disables reset the device to its factory state in design. 1385 // Disables reset the device to its factory state in design.
1383 const char kDisableFactoryReset[] = "disable-factory-reset"; 1386 const char kDisableFactoryReset[] = "disable-factory-reset";
1384 1387
1385 // Disables gdata content provider. 1388 // Disables gdata content provider.
1386 const char kDisableGData[] = "disable-gdata"; 1389 const char kDisableGData[] = "disable-gdata";
1387 1390
1388 // Disables new WebRTC implementation of user image picker. 1391 // Disables new WebRTC implementation of user image picker.
1389 const char kDisableHtml5Camera[] = "disable-html5-camera"; 1392 const char kDisableHtml5Camera[] = "disable-html5-camera";
1390 1393
1391 // Avoid doing expensive animations upon login. 1394 // Avoid doing expensive animations upon login.
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1597 } // namespace switches 1600 } // namespace switches
1598 1601
1599 namespace chrome { 1602 namespace chrome {
1600 1603
1601 bool IsFramelessConstrainedDialogEnabled() { 1604 bool IsFramelessConstrainedDialogEnabled() {
1602 return CommandLine::ForCurrentProcess()->HasSwitch( 1605 return CommandLine::ForCurrentProcess()->HasSwitch(
1603 switches::kEnableFramelessConstrainedDialogs); 1606 switches::kEnableFramelessConstrainedDialogs);
1604 } 1607 }
1605 1608
1606 } // namespace chrome 1609 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698