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

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

Issue 2508933002: tools: Local tests for the speculative prefetch predictor. (Closed)
Patch Set: . Created 4 years, 1 month 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "printing/features/features.h" 10 #include "printing/features/features.h"
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 // Speculative resource prefetching. 894 // Speculative resource prefetching.
895 const char kSpeculativeResourcePrefetching[] = 895 const char kSpeculativeResourcePrefetching[] =
896 "speculative-resource-prefetching"; 896 "speculative-resource-prefetching";
897 897
898 // Speculative resource prefetching is disabled. 898 // Speculative resource prefetching is disabled.
899 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 899 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
900 900
901 // Speculative resource prefetching is enabled. 901 // Speculative resource prefetching is enabled.
902 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; 902 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
903 903
904 // Speculative resource prefetching is enabled for external requests.
905 const char kSpeculativeResourceExternalPrefetchingEnabled[] = "external";
906
904 // Speculative resource prefetching will only learn about resources that need to 907 // Speculative resource prefetching will only learn about resources that need to
905 // be prefetched but will not prefetch them. 908 // be prefetched but will not prefetch them.
906 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 909 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
907 910
908 // Causes SSL key material to be logged to the specified file for debugging 911 // Causes SSL key material to be logged to the specified file for debugging
909 // purposes. See 912 // purposes. See
910 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format 913 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format
911 // for the format. 914 // for the format.
912 const char kSSLKeyLogFile[] = "ssl-key-log-file"; 915 const char kSSLKeyLogFile[] = "ssl-key-log-file";
913 916
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 1324
1322 // ----------------------------------------------------------------------------- 1325 // -----------------------------------------------------------------------------
1323 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1326 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1324 // 1327 //
1325 // You were going to just dump your switches here, weren't you? Instead, please 1328 // You were going to just dump your switches here, weren't you? Instead, please
1326 // put them in alphabetical order above, or in order inside the appropriate 1329 // put them in alphabetical order above, or in order inside the appropriate
1327 // ifdef at the bottom. The order should match the header. 1330 // ifdef at the bottom. The order should match the header.
1328 // ----------------------------------------------------------------------------- 1331 // -----------------------------------------------------------------------------
1329 1332
1330 } // namespace switches 1333 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698