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

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

Issue 2538743002: predictors: Add a origin for prefetch requests, remove the URL/host settings. (Closed)
Patch Set: . 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
« 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 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 // Speculative resource prefetching. 886 // Speculative resource prefetching.
887 const char kSpeculativeResourcePrefetching[] = 887 const char kSpeculativeResourcePrefetching[] =
888 "speculative-resource-prefetching"; 888 "speculative-resource-prefetching";
889 889
890 // Speculative resource prefetching is disabled. 890 // Speculative resource prefetching is disabled.
891 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 891 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
892 892
893 // Speculative resource prefetching is enabled. 893 // Speculative resource prefetching is enabled.
894 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; 894 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
895 895
896 // Speculative resource prefetching is enabled for external requests.
897 const char kSpeculativeResourcePrefetchingEnabledExternal[] =
898 "enabled-external-only";
899
896 // Speculative resource prefetching will only learn about resources that need to 900 // Speculative resource prefetching will only learn about resources that need to
897 // be prefetched but will not prefetch them. 901 // be prefetched but will not prefetch them.
898 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 902 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
899 903
900 // Causes SSL key material to be logged to the specified file for debugging 904 // Causes SSL key material to be logged to the specified file for debugging
901 // purposes. See 905 // purposes. See
902 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format 906 // https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format
903 // for the format. 907 // for the format.
904 const char kSSLKeyLogFile[] = "ssl-key-log-file"; 908 const char kSSLKeyLogFile[] = "ssl-key-log-file";
905 909
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 1320
1317 // ----------------------------------------------------------------------------- 1321 // -----------------------------------------------------------------------------
1318 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1322 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1319 // 1323 //
1320 // You were going to just dump your switches here, weren't you? Instead, please 1324 // You were going to just dump your switches here, weren't you? Instead, please
1321 // put them in alphabetical order above, or in order inside the appropriate 1325 // put them in alphabetical order above, or in order inside the appropriate
1322 // ifdef at the bottom. The order should match the header. 1326 // ifdef at the bottom. The order should match the header.
1323 // ----------------------------------------------------------------------------- 1327 // -----------------------------------------------------------------------------
1324 1328
1325 } // namespace switches 1329 } // namespace switches
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