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

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

Issue 10817004: Adds speculative prefetching of resources. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing Dominich's comment. Created 8 years, 3 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 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 const char kSpeculativeResourcePrefetching[] = 1214 const char kSpeculativeResourcePrefetching[] =
1215 "speculative-resource-prefetching"; 1215 "speculative-resource-prefetching";
1216 1216
1217 // Speculative resource prefetching is disabled. 1217 // Speculative resource prefetching is disabled.
1218 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 1218 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1219 1219
1220 // Speculative resource prefetching will only learn about resources that need to 1220 // Speculative resource prefetching will only learn about resources that need to
1221 // be prefetched but will not prefetch them. 1221 // be prefetched but will not prefetch them.
1222 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 1222 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
1223 1223
1224 // Speculative resource prefetching is enabled.
1225 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
1226
1224 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1227 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1225 // "tls1.2"). 1228 // "tls1.2").
1226 const char kSSLVersionMax[] = "ssl-version-max"; 1229 const char kSSLVersionMax[] = "ssl-version-max";
1227 1230
1228 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1231 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1229 // "tls1.2"). 1232 // "tls1.2").
1230 const char kSSLVersionMin[] = "ssl-version-min"; 1233 const char kSSLVersionMin[] = "ssl-version-min";
1231 1234
1232 // Starts the browser maximized, regardless of any previous settings. 1235 // Starts the browser maximized, regardless of any previous settings.
1233 const char kStartMaximized[] = "start-maximized"; 1236 const char kStartMaximized[] = "start-maximized";
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 1575
1573 // ----------------------------------------------------------------------------- 1576 // -----------------------------------------------------------------------------
1574 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1577 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1575 // 1578 //
1576 // You were going to just dump your switches here, weren't you? Instead, please 1579 // You were going to just dump your switches here, weren't you? Instead, please
1577 // put them in alphabetical order above, or in order inside the appropriate 1580 // put them in alphabetical order above, or in order inside the appropriate
1578 // ifdef at the bottom. The order should match the header. 1581 // ifdef at the bottom. The order should match the header.
1579 // ----------------------------------------------------------------------------- 1582 // -----------------------------------------------------------------------------
1580 1583
1581 } // namespace switches 1584 } // namespace switches
OLDNEW
« chrome/browser/predictors/resource_prefetcher_unittest.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698