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

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

Issue 3050040: Reland 54771 (and 54795) To enable TCP Preconnection by default... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/net.gyp » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 // Disable the internal Flash Player. 158 // Disable the internal Flash Player.
159 const char kDisableInternalFlash[] = "disable-internal-flash"; 159 const char kDisableInternalFlash[] = "disable-internal-flash";
160 160
161 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging 161 // Don't resolve hostnames to IPv6 addresses. This can be used when debugging
162 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to 162 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to
163 // file bugs if something isn't working properly in the presence of IPv6. 163 // file bugs if something isn't working properly in the presence of IPv6.
164 // This flag can be overidden by the "enable-ipv6" flag. 164 // This flag can be overidden by the "enable-ipv6" flag.
165 const char kDisableIPv6[] = "disable-ipv6"; 165 const char kDisableIPv6[] = "disable-ipv6";
166 166
167 // Disable speculative TCP/IP preconnection.
168 const char kDisablePreconnect[] = "disable-preconnect";
169
167 // Don't execute JavaScript (browser JS like the new tab page still runs). 170 // Don't execute JavaScript (browser JS like the new tab page still runs).
168 const char kDisableJavaScript[] = "disable-javascript"; 171 const char kDisableJavaScript[] = "disable-javascript";
169 172
170 // Prevent Java from running. 173 // Prevent Java from running.
171 const char kDisableJava[] = "disable-java"; 174 const char kDisableJava[] = "disable-java";
172 175
173 // Disable LocalStorage. 176 // Disable LocalStorage.
174 const char kDisableLocalStorage[] = "disable-local-storage"; 177 const char kDisableLocalStorage[] = "disable-local-storage";
175 178
176 // Force logging to be disabled. Logging is enabled by default in debug 179 // Force logging to be disabled. Logging is enabled by default in debug
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 1146
1144 // ----------------------------------------------------------------------------- 1147 // -----------------------------------------------------------------------------
1145 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1148 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1146 // 1149 //
1147 // You were going to just dump your switches here, weren't you? Instead, 1150 // You were going to just dump your switches here, weren't you? Instead,
1148 // please put them in alphabetical order above, or in order inside the 1151 // please put them in alphabetical order above, or in order inside the
1149 // appropriate ifdef at the bottom. The order should match the header. 1152 // appropriate ifdef at the bottom. The order should match the header.
1150 // ----------------------------------------------------------------------------- 1153 // -----------------------------------------------------------------------------
1151 1154
1152 } // namespace switches 1155 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698