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

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

Issue 27047003: Precache tracking database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@precache
Patch Set: General fixes, added tests, and moved PrecacheManager into component Created 7 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
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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 690
691 // Disables the usage of Portable Native Client. 691 // Disables the usage of Portable Native Client.
692 const char kDisablePnacl[] = "disable-pnacl"; 692 const char kDisablePnacl[] = "disable-pnacl";
693 693
694 // Disables crash throttling for Portable Native Client. 694 // Disables crash throttling for Portable Native Client.
695 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; 695 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling";
696 696
697 // Disables the installation of Portable Native Client. 697 // Disables the installation of Portable Native Client.
698 const char kDisablePnaclInstall[] = "disable-pnacl-install"; 698 const char kDisablePnaclInstall[] = "disable-pnacl-install";
699 699
700 // Enables the proactive populating of the disk cache with Web resources that
701 // are likely to be needed in future page fetches.
702 const char kEnablePrecache[] = "enable-precache";
bengr 2013/10/23 19:03:36 The semantics should be that precache is enabled i
sclittle 2013/10/24 22:11:38 see PrecacheManager::IsPrecachingEnabled()
703
704 // Enables tracking of tasks in profiler for viewing via about:profiler. 700 // Enables tracking of tasks in profiler for viewing via about:profiler.
705 // To predominantly disable tracking (profiling), use the command line switch: 701 // To predominantly disable tracking (profiling), use the command line switch:
706 // --enable-profiling=0 702 // --enable-profiling=0
707 // Some tracking will still take place at startup, but it will be turned off 703 // Some tracking will still take place at startup, but it will be turned off
708 // during chrome_browser_main. 704 // during chrome_browser_main.
709 const char kEnableProfiling[] = "enable-profiling"; 705 const char kEnableProfiling[] = "enable-profiling";
710 706
711 // Enables support for the QUIC protocol. This is a temporary testing flag. 707 // Enables support for the QUIC protocol. This is a temporary testing flag.
712 const char kEnableQuic[] = "enable-quic"; 708 const char kEnableQuic[] = "enable-quic";
713 709
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 1657
1662 // ----------------------------------------------------------------------------- 1658 // -----------------------------------------------------------------------------
1663 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1659 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1664 // 1660 //
1665 // You were going to just dump your switches here, weren't you? Instead, please 1661 // You were going to just dump your switches here, weren't you? Instead, please
1666 // put them in alphabetical order above, or in order inside the appropriate 1662 // put them in alphabetical order above, or in order inside the appropriate
1667 // ifdef at the bottom. The order should match the header. 1663 // ifdef at the bottom. The order should match the header.
1668 // ----------------------------------------------------------------------------- 1664 // -----------------------------------------------------------------------------
1669 1665
1670 } // namespace switches 1666 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698