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

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

Issue 117933003: Remove the speculative resource prefetching code. This was experimental code added 1.5 years ago an… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 1351
1352 // Second origin that can be used for the spdy proxy. 1352 // Second origin that can be used for the spdy proxy.
1353 const char kSpdyProxyAuthFallback[] = "spdy-proxy-auth-fallback"; 1353 const char kSpdyProxyAuthFallback[] = "spdy-proxy-auth-fallback";
1354 1354
1355 // Origin for which SpdyProxy authentication is supported. 1355 // Origin for which SpdyProxy authentication is supported.
1356 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin"; 1356 const char kSpdyProxyAuthOrigin[] = "spdy-proxy-auth-origin";
1357 1357
1358 // Authentication string for the data reduction proxy. 1358 // Authentication string for the data reduction proxy.
1359 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value"; 1359 const char kSpdyProxyAuthValue[] = "spdy-proxy-auth-value";
1360 1360
1361 // Speculative resource prefetching.
1362 const char kSpeculativeResourcePrefetching[] =
1363 "speculative-resource-prefetching";
1364
1365 // Speculative resource prefetching is disabled.
1366 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1367
1368 // Speculative resource prefetching will only learn about resources that need to
1369 // be prefetched but will not prefetch them.
1370 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
1371
1372 // Speculative resource prefetching is enabled.
1373 const char kSpeculativeResourcePrefetchingEnabled[] = "enabled";
1374
1375 // Specifies the URL where spelling service feedback data will be sent instead 1361 // Specifies the URL where spelling service feedback data will be sent instead
1376 // of the default URL. This switch is for temporary testing only. 1362 // of the default URL. This switch is for temporary testing only.
1377 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by 1363 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by
1378 // August 2013. 1364 // August 2013.
1379 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; 1365 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url";
1380 1366
1381 // Specifies the number of seconds between sending batches of feedback to 1367 // Specifies the number of seconds between sending batches of feedback to
1382 // spelling service. The default is 30 minutes. The mininum is 5 seconds. This 1368 // spelling service. The default is 30 minutes. The mininum is 5 seconds. This
1383 // switch is for temporary testing only. 1369 // switch is for temporary testing only.
1384 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by 1370 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 1662
1677 // ----------------------------------------------------------------------------- 1663 // -----------------------------------------------------------------------------
1678 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1664 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1679 // 1665 //
1680 // You were going to just dump your switches here, weren't you? Instead, please 1666 // You were going to just dump your switches here, weren't you? Instead, please
1681 // put them in alphabetical order above, or in order inside the appropriate 1667 // put them in alphabetical order above, or in order inside the appropriate
1682 // ifdef at the bottom. The order should match the header. 1668 // ifdef at the bottom. The order should match the header.
1683 // ----------------------------------------------------------------------------- 1669 // -----------------------------------------------------------------------------
1684 1670
1685 } // namespace switches 1671 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698