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

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: Adding Unittest. 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 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 const char kSpeculativeResourcePrefetching[] = 1219 const char kSpeculativeResourcePrefetching[] =
1220 "speculative-resource-prefetching"; 1220 "speculative-resource-prefetching";
1221 1221
1222 // Speculative resource prefetching is disabled. 1222 // Speculative resource prefetching is disabled.
1223 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 1223 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1224 1224
1225 // Speculative resource prefetching will only learn about resources that need to 1225 // Speculative resource prefetching will only learn about resources that need to
1226 // be prefetched but will not prefetch them. 1226 // be prefetched but will not prefetch them.
1227 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 1227 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
1228 1228
1229 // Speculative resource prefetching is enabled.
1230 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
1231
1229 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1232 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1230 // "tls1.2"). 1233 // "tls1.2").
1231 const char kSSLVersionMax[] = "ssl-version-max"; 1234 const char kSSLVersionMax[] = "ssl-version-max";
1232 1235
1233 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1236 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1234 // "tls1.2"). 1237 // "tls1.2").
1235 const char kSSLVersionMin[] = "ssl-version-min"; 1238 const char kSSLVersionMin[] = "ssl-version-min";
1236 1239
1237 // Starts the browser maximized, regardless of any previous settings. 1240 // Starts the browser maximized, regardless of any previous settings.
1238 const char kStartMaximized[] = "start-maximized"; 1241 const char kStartMaximized[] = "start-maximized";
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 1577
1575 // ----------------------------------------------------------------------------- 1578 // -----------------------------------------------------------------------------
1576 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1579 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1577 // 1580 //
1578 // You were going to just dump your switches here, weren't you? Instead, please 1581 // You were going to just dump your switches here, weren't you? Instead, please
1579 // put them in alphabetical order above, or in order inside the appropriate 1582 // put them in alphabetical order above, or in order inside the appropriate
1580 // ifdef at the bottom. The order should match the header. 1583 // ifdef at the bottom. The order should match the header.
1581 // ----------------------------------------------------------------------------- 1584 // -----------------------------------------------------------------------------
1582 1585
1583 } // namespace switches 1586 } // 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