Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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"; | |
|
pasko
2016/11/29 14:44:44
why not "enabled-external-only"? do you think it w
Benoit L
2016/11/29 17:02:51
Done.
| |
| 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 Loading... | |
| 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 |
| OLD | NEW |