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

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 "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 // Speculative resource prefetching. 891 // Speculative resource prefetching.
892 const char kSpeculativeResourcePrefetching[] = 892 const char kSpeculativeResourcePrefetching[] =
893 "speculative-resource-prefetching"; 893 "speculative-resource-prefetching";
894 894
895 // Speculative resource prefetching is disabled. 895 // Speculative resource prefetching is disabled.
896 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 896 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
897 897
898 // Speculative resource prefetching is enabled. 898 // Speculative resource prefetching is enabled.
899 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; 899 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
900 900
901 // Speculative resource prefetching is enabled for external requests.
902 const char kSpeculativeResourceExternalPrefetchingEnabled[] = "external";
pasko 2016/11/24 19:31:16 following the pattern of the above two, it should
pasko 2016/11/24 19:31:16 nit: From naming it is not obvious whether "extern
Benoit L 2016/11/30 12:08:27 Done.
Benoit L 2016/11/30 12:08:27 Done.
903
901 // Speculative resource prefetching will only learn about resources that need to 904 // Speculative resource prefetching will only learn about resources that need to
902 // be prefetched but will not prefetch them. 905 // be prefetched but will not prefetch them.
903 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 906 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
904 907
905 // Causes SSL key material to be logged to the specified file for debugging 908 // Causes SSL key material to be logged to the specified file for debugging
906 // purposes. See 909 // purposes. See
907 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format 910 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format
908 // for the format. 911 // for the format.
909 const char kSSLKeyLogFile[] = "ssl-key-log-file"; 912 const char kSSLKeyLogFile[] = "ssl-key-log-file";
910 913
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 1321
1319 // ----------------------------------------------------------------------------- 1322 // -----------------------------------------------------------------------------
1320 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1323 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1321 // 1324 //
1322 // You were going to just dump your switches here, weren't you? Instead, please 1325 // You were going to just dump your switches here, weren't you? Instead, please
1323 // put them in alphabetical order above, or in order inside the appropriate 1326 // put them in alphabetical order above, or in order inside the appropriate
1324 // ifdef at the bottom. The order should match the header. 1327 // ifdef at the bottom. The order should match the header.
1325 // ----------------------------------------------------------------------------- 1328 // -----------------------------------------------------------------------------
1326 1329
1327 } // namespace switches 1330 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/android/customtabs_benchmark/scripts/customtabs_benchmark.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698