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

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

Issue 10704169: Revert 146170 - Adding a field trial to enable speculative resource prefetching learning. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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 | 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 // Controls the support for SDCH filtering (dictionary based expansion of 606 // Controls the support for SDCH filtering (dictionary based expansion of
607 // content). By default SDCH filtering is enabled. To disable SDCH filtering, 607 // content). By default SDCH filtering is enabled. To disable SDCH filtering,
608 // use "--enable-sdch=0" as command line argument. SDCH is currently only 608 // use "--enable-sdch=0" as command line argument. SDCH is currently only
609 // supported server-side for searches on google.com. 609 // supported server-side for searches on google.com.
610 const char kEnableSdch[] = "enable-sdch"; 610 const char kEnableSdch[] = "enable-sdch";
611 611
612 // Enable SPDY/3. This is a temporary testing flag. 612 // Enable SPDY/3. This is a temporary testing flag.
613 const char kEnableSpdy3[] = "enable-spdy3"; 613 const char kEnableSpdy3[] = "enable-spdy3";
614 614
615 // Enable speculative resource prefetching.
616 const char kEnableSpeculativeResourcePrefetching[] =
617 "enable-speculative-resource-prefetching";
618
615 // Enables the stacked tabstrip. 619 // Enables the stacked tabstrip.
616 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip"; 620 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip";
617 621
618 // Enables experimental suggestions pane in New Tab page. 622 // Enables experimental suggestions pane in New Tab page.
619 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp"; 623 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp";
620 624
621 // Disables syncing browser sessions. Will override kEnableSyncTabs. 625 // Disables syncing browser sessions. Will override kEnableSyncTabs.
622 const char kDisableSyncTabs[] = "disable-sync-tabs"; 626 const char kDisableSyncTabs[] = "disable-sync-tabs";
623 627
624 // Enables context menu for selecting groups of tabs. 628 // Enables context menu for selecting groups of tabs.
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 // Simulates an update being available. 1182 // Simulates an update being available.
1179 const char kSimulateUpgrade[] = "simulate-upgrade"; 1183 const char kSimulateUpgrade[] = "simulate-upgrade";
1180 1184
1181 // Replaces the buffered data source for <audio> and <video> with a simplified 1185 // Replaces the buffered data source for <audio> and <video> with a simplified
1182 // resource loader that downloads the entire resource into memory. 1186 // resource loader that downloads the entire resource into memory.
1183 1187
1184 // Socket reuse policy. The value should be of type enum 1188 // Socket reuse policy. The value should be of type enum
1185 // ClientSocketReusePolicy. 1189 // ClientSocketReusePolicy.
1186 const char kSocketReusePolicy[] = "socket-reuse-policy"; 1190 const char kSocketReusePolicy[] = "socket-reuse-policy";
1187 1191
1188 // Speculative resource prefetching.
1189 const char kSpeculativeResourcePrefetching[] =
1190 "speculative-resource-prefetching";
1191
1192 // Speculative resource prefetching is disabled.
1193 const char kSpeculativeResourcePrefetchingDisabled[] = "disabled";
1194
1195 // Speculative resource prefetching will only learn about resources that need to
1196 // be prefetched but will not prefetch them.
1197 const char kSpeculativeResourcePrefetchingLearning[] = "learning";
1198
1199 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1192 // Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1200 // "tls1.2"). 1193 // "tls1.2").
1201 const char kSSLVersionMax[] = "ssl-version-max"; 1194 const char kSSLVersionMax[] = "ssl-version-max";
1202 1195
1203 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or 1196 // Specifies the minimum SSL/TLS version ("ssl3", "tls1", "tls1.1", or
1204 // "tls1.2"). 1197 // "tls1.2").
1205 const char kSSLVersionMin[] = "ssl-version-min"; 1198 const char kSSLVersionMin[] = "ssl-version-min";
1206 1199
1207 // Starts the browser maximized, regardless of any previous settings. 1200 // Starts the browser maximized, regardless of any previous settings.
1208 const char kStartMaximized[] = "start-maximized"; 1201 const char kStartMaximized[] = "start-maximized";
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 1493
1501 // ----------------------------------------------------------------------------- 1494 // -----------------------------------------------------------------------------
1502 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1495 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1503 // 1496 //
1504 // You were going to just dump your switches here, weren't you? Instead, please 1497 // You were going to just dump your switches here, weren't you? Instead, please
1505 // put them in alphabetical order above, or in order inside the appropriate 1498 // put them in alphabetical order above, or in order inside the appropriate
1506 // ifdef at the bottom. The order should match the header. 1499 // ifdef at the bottom. The order should match the header.
1507 // ----------------------------------------------------------------------------- 1500 // -----------------------------------------------------------------------------
1508 1501
1509 } // namespace switches 1502 } // 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