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

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: Created 8 years, 5 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 1193 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 const char kSpeculativeResourcePrefetching[] = 1204 const char kSpeculativeResourcePrefetching[] =
1205 "speculative-resource-prefetching"; 1205 "speculative-resource-prefetching";
1206 1206
1207 // Speculative resource prefetching is disabled. 1207 // Speculative resource prefetching is disabled.
1208 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled"; 1208 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1209 1209
1210 // Speculative resource prefetching will only learn about resources that need to 1210 // Speculative resource prefetching will only learn about resources that need to
1211 // be prefetched but will not prefetch them. 1211 // be prefetched but will not prefetch them.
1212 const char kSpeculativeResourcePrefetchingLearning[] = "learning"; 1212 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
1213 1213
1214 // Speculative resource prefetching is enabled.
1215 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
1216
dominich 2012/07/23 16:04:41 nit: remove blank line.
Shishir 2012/08/01 22:35:24 Done.
1217
1214 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1218 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1215 // "tls1.2"). 1219 // "tls1.2").
1216 const char kSSLVersionMax[] = "ssl-version-max"; 1220 const char kSSLVersionMax[] = "ssl-version-max";
1217 1221
1218 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1222 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1219 // "tls1.2"). 1223 // "tls1.2").
1220 const char kSSLVersionMin[] = "ssl-version-min"; 1224 const char kSSLVersionMin[] = "ssl-version-min";
1221 1225
1222 // Starts the browser maximized, regardless of any previous settings. 1226 // Starts the browser maximized, regardless of any previous settings.
1223 const char kStartMaximized[] = "start-maximized"; 1227 const char kStartMaximized[] = "start-maximized";
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 1519
1516 // ----------------------------------------------------------------------------- 1520 // -----------------------------------------------------------------------------
1517 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1521 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1518 // 1522 //
1519 // You were going to just dump your switches here, weren't you? Instead, please 1523 // You were going to just dump your switches here, weren't you? Instead, please
1520 // put them in alphabetical order above, or in order inside the appropriate 1524 // put them in alphabetical order above, or in order inside the appropriate
1521 // ifdef at the bottom. The order should match the header. 1525 // ifdef at the bottom. The order should match the header.
1522 // ----------------------------------------------------------------------------- 1526 // -----------------------------------------------------------------------------
1523 1527
1524 } // namespace switches 1528 } // 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