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

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

Issue 3191019: A/B experiment for re-establishing TCP connections (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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') | chrome/renderer/render_view.cc » ('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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // background) - used when running tests involving background apps. 138 // background) - used when running tests involving background apps.
139 const char kDisableBackgroundMode[] = "disable-background-mode"; 139 const char kDisableBackgroundMode[] = "disable-background-mode";
140 140
141 // Disable limits on the number of backing stores. Can prevent blinking for 141 // Disable limits on the number of backing stores. Can prevent blinking for
142 // users with many windows/tabs and lots of memory. 142 // users with many windows/tabs and lots of memory.
143 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; 143 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit";
144 144
145 // Disable support for cached byte-ranges. 145 // Disable support for cached byte-ranges.
146 const char kDisableByteRangeSupport[] = "disable-byte-range-support"; 146 const char kDisableByteRangeSupport[] = "disable-byte-range-support";
147 147
148 // Disables establishing a backup TCP connection if a specified timeout is
149 // exceeded.
150 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs";
151
148 // Disable requests that webkit labels TargetIsPrefetch. As of 152 // Disable requests that webkit labels TargetIsPrefetch. As of
149 // writing only <link rel=prefetch...> but also eventually 153 // writing only <link rel=prefetch...> but also eventually
150 // Link: headers. 154 // Link: headers.
151 const char kDisableContentPrefetch[] = "disable-content-prefetch"; 155 const char kDisableContentPrefetch[] = "disable-content-prefetch";
152 156
153 // Disables the custom JumpList on Windows 7. 157 // Disables the custom JumpList on Windows 7.
154 const char kDisableCustomJumpList[] = "disable-custom-jumplist"; 158 const char kDisableCustomJumpList[] = "disable-custom-jumplist";
155 159
156 // Disables HTML5 DB support. 160 // Disables HTML5 DB support.
157 const char kDisableDatabases[] = "disable-databases"; 161 const char kDisableDatabases[] = "disable-databases";
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // Disable syncing of extensions. 265 // Disable syncing of extensions.
262 const char kDisableSyncExtensions[] = "disable-sync-extensions"; 266 const char kDisableSyncExtensions[] = "disable-sync-extensions";
263 267
264 // Disable syncing of passwords. 268 // Disable syncing of passwords.
265 const char kDisableSyncPasswords[] = "disable-sync-passwords"; 269 const char kDisableSyncPasswords[] = "disable-sync-passwords";
266 270
267 // Disable syncing of preferences. 271 // Disable syncing of preferences.
268 const char kDisableSyncPreferences[] = "disable-sync-preferences"; 272 const char kDisableSyncPreferences[] = "disable-sync-preferences";
269 273
270 // Disable syncing of sessions. 274 // Disable syncing of sessions.
271 const char kDisableSyncSessions[] = "disable-sync-sessions"; 275 const char kDisableSyncSessions[] = "disable-sync-sessions";
272 276
273 // Disable syncing of themes. 277 // Disable syncing of themes.
274 const char kDisableSyncThemes[] = "disable-sync-themes"; 278 const char kDisableSyncThemes[] = "disable-sync-themes";
275 279
276 // Disable syncing of typed urls. 280 // Disable syncing of typed urls.
277 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; 281 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls";
278 282
279 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain 283 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain
280 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we 284 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we
281 // need a switch to disable the watcher. 285 // need a switch to disable the watcher.
(...skipping 27 matching lines...) Expand all
309 // be a performance bottleneck. One should only enable it when automating 313 // be a performance bottleneck. One should only enable it when automating
310 // dom based tests. 314 // dom based tests.
311 const char kDomAutomationController[] = "dom-automation"; 315 const char kDomAutomationController[] = "dom-automation";
312 316
313 // Dump any accumualted histograms to the log when browser terminates (requires 317 // Dump any accumualted histograms to the log when browser terminates (requires
314 // logging to be enabled to really do anything). Used by developers and test 318 // logging to be enabled to really do anything). Used by developers and test
315 // scripts. 319 // scripts.
316 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; 320 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
317 321
318 // Enable displaying net log events on the command line. 322 // Enable displaying net log events on the command line.
319 extern const char kLogNetLog[] = "log-net-log"; 323 extern const char kLogNetLog[] = "log-net-log";
320 324
321 // Enable gpu-accelerated compositing. 325 // Enable gpu-accelerated compositing.
322 const char kEnableAcceleratedCompositing[] = "enable-accelerated-compositing"; 326 const char kEnableAcceleratedCompositing[] = "enable-accelerated-compositing";
323 327
324 // Enable gpu-accelerated 2d canvas. 328 // Enable gpu-accelerated 2d canvas.
325 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; 329 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas";
326 330
327 // Enables AeroPeek for each tab. (This switch only works on Windows 7). 331 // Enables AeroPeek for each tab. (This switch only works on Windows 7).
328 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; 332 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs";
329 333
330 // Enable the inclusion of non-standard ports when generating the Kerberos SPN 334 // Enable the inclusion of non-standard ports when generating the Kerberos SPN
331 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 335 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
332 // for more background. 336 // for more background.
333 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 337 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
334 338
335 // Enables the benchmarking extensions. 339 // Enables the benchmarking extensions.
336 const char kEnableBenchmarking[] = "enable-benchmarking"; 340 const char kEnableBenchmarking[] = "enable-benchmarking";
337 341
338 // This applies only when the process type is "service". Enables the 342 // This applies only when the process type is "service". Enables the
339 // Chromoting Host Process within the service process. 343 // Chromoting Host Process within the service process.
340 const char kEnableRemoting[] = "enable-remoting"; 344 const char kEnableRemoting[] = "enable-remoting";
341 345
342 // Enable click-to-play for blocked plugins. 346 // Enable click-to-play for blocked plugins.
343 const char kEnableClickToPlay[] = "enable-click-to-play"; 347 const char kEnableClickToPlay[] = "enable-click-to-play";
344 348
345 // This applies only when the process type is "service". Enables the 349 // This applies only when the process type is "service". Enables the
346 // Cloud Print Proxy component within the service process. 350 // Cloud Print Proxy component within the service process.
347 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; 351 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
348 352
349 // Enables the Cloud Print dialog hosting code. 353 // Enables the Cloud Print dialog hosting code.
350 const char kEnableCloudPrint[] = "enable-cloud-print"; 354 const char kEnableCloudPrint[] = "enable-cloud-print";
351 355
356 // Enables establishing a backup TCP connection if a specified timeout is
357 // exceeded.
358 const char kEnableConnectBackupJobs[] = "enable-connect-backup-jobs";
359
352 // Enable requests that webkit labels TargetIsPrefetch. As of 360 // Enable requests that webkit labels TargetIsPrefetch. As of
353 // writing only <link rel=prefetch...> but also eventually 361 // writing only <link rel=prefetch...> but also eventually
354 // Link: headers. 362 // Link: headers.
355 const char kEnableContentPrefetch[] = "enable-content-prefetch"; 363 const char kEnableContentPrefetch[] = "enable-content-prefetch";
356 364
357 // Enables the cookie prompt. 365 // Enables the cookie prompt.
358 const char kEnableCookiePrompt[] = "enable-cookie-prompt"; 366 const char kEnableCookiePrompt[] = "enable-cookie-prompt";
359 367
360 // Enables device motion events. 368 // Enables device motion events.
361 const char kEnableDeviceMotion[] = "enable-device-motion"; 369 const char kEnableDeviceMotion[] = "enable-device-motion";
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 // Enable syncing browser extensions. 469 // Enable syncing browser extensions.
462 const char kEnableSyncExtensions[] = "enable-sync-extensions"; 470 const char kEnableSyncExtensions[] = "enable-sync-extensions";
463 471
464 // Enable syncing browser passwords. 472 // Enable syncing browser passwords.
465 const char kEnableSyncPasswords[] = "enable-sync-passwords"; 473 const char kEnableSyncPasswords[] = "enable-sync-passwords";
466 474
467 // Enable syncing browser preferences. 475 // Enable syncing browser preferences.
468 const char kEnableSyncPreferences[] = "enable-sync-preferences"; 476 const char kEnableSyncPreferences[] = "enable-sync-preferences";
469 477
470 // Enable syncing browser sessions. 478 // Enable syncing browser sessions.
471 const char kEnableSyncSessions[] = "enable-sync-sessions"; 479 const char kEnableSyncSessions[] = "enable-sync-sessions";
472 480
473 // Enable syncing browser themes. 481 // Enable syncing browser themes.
474 const char kEnableSyncThemes[] = "enable-sync-themes"; 482 const char kEnableSyncThemes[] = "enable-sync-themes";
475 483
476 // Enable syncing browser typed urls. 484 // Enable syncing browser typed urls.
477 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; 485 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls";
478 486
479 // Enable tabbed options, ie: dom-ui version of options window. 487 // Enable tabbed options, ie: dom-ui version of options window.
480 const char kEnableTabbedOptions[] = "enable-tabbed-options"; 488 const char kEnableTabbedOptions[] = "enable-tabbed-options";
481 489
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 1226
1219 // ----------------------------------------------------------------------------- 1227 // -----------------------------------------------------------------------------
1220 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1228 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1221 // 1229 //
1222 // You were going to just dump your switches here, weren't you? Instead, 1230 // You were going to just dump your switches here, weren't you? Instead,
1223 // please put them in alphabetical order above, or in order inside the 1231 // please put them in alphabetical order above, or in order inside the
1224 // appropriate ifdef at the bottom. The order should match the header. 1232 // appropriate ifdef at the bottom. The order should match the header.
1225 // ----------------------------------------------------------------------------- 1233 // -----------------------------------------------------------------------------
1226 1234
1227 } // namespace switches 1235 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698