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

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 comments. Created 8 years, 4 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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 const char kSpeculativeResourcePrefetching[] = 1207 const char kSpeculativeResourcePrefetching[] =
1208 "speculative-resource-prefetching"; 1208 "speculative-resource-prefetching";
1209 1209
1210 // Speculative resource prefetching is disabled. 1210 // Speculative resource prefetching is disabled.
1211 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 1211 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1212 1212
1213 // Speculative resource prefetching will only learn about resources that need to 1213 // Speculative resource prefetching will only learn about resources that need to
1214 // be prefetched but will not prefetch them. 1214 // be prefetched but will not prefetch them.
1215 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 1215 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
1216 1216
1217 // Speculative resource prefetching is enabled.
1218 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
1219
1217 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1220 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1218 // "tls1.2"). 1221 // "tls1.2").
1219 const char kSSLVersionMax[] = "ssl-version-max"; 1222 const char kSSLVersionMax[] = "ssl-version-max";
1220 1223
1221 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1224 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1222 // "tls1.2"). 1225 // "tls1.2").
1223 const char kSSLVersionMin[] = "ssl-version-min"; 1226 const char kSSLVersionMin[] = "ssl-version-min";
1224 1227
1225 // Starts the browser maximized, regardless of any previous settings. 1228 // Starts the browser maximized, regardless of any previous settings.
1226 const char kStartMaximized[] = "start-maximized"; 1229 const char kStartMaximized[] = "start-maximized";
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 1531
1529 // ----------------------------------------------------------------------------- 1532 // -----------------------------------------------------------------------------
1530 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1533 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1531 // 1534 //
1532 // You were going to just dump your switches here, weren't you? Instead, please 1535 // You were going to just dump your switches here, weren't you? Instead, please
1533 // put them in alphabetical order above, or in order inside the appropriate 1536 // put them in alphabetical order above, or in order inside the appropriate
1534 // ifdef at the bottom. The order should match the header. 1537 // ifdef at the bottom. The order should match the header.
1535 // ----------------------------------------------------------------------------- 1538 // -----------------------------------------------------------------------------
1536 1539
1537 } // namespace switches 1540 } // namespace switches
OLDNEW
« chrome/browser/prerender/prerender_field_trial.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