1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
|
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/chrome_switches.h"
#include "base/base_switches.h"
namespace switches {
// Can't find the switch you are looking for? try looking in
// base/base_switches.cc instead.
// Suppresses hang monitor dialogs in renderer processes.
const char kDisableHangMonitor[] = "disable-hang-monitor";
// Completely disables UMA metrics system.
const char kDisableMetrics[] = "disable-metrics";
// Enables the recording of metrics reports but disables reporting.
// In contrast to kDisableMetrics, this executes all the code that a normal
// client would use for reporting, except the report is dropped rather than sent
// to the server. This is useful for finding issues in the metrics code during
// UI and performance tests.
const char kMetricsRecordingOnly[] = "metrics-recording-only";
// Causes the browser process to throw an assertion on startup.
const char kBrowserAssertTest[] = "assert-test";
// Causes the renderer process to throw an assertion on launch.
const char kRendererAssertTest[] = "renderer-assert-test";
// Causes the browser process to crash on startup.
const char kBrowserCrashTest[] = "crash-test";
// Causes the renderer process to crash on launch.
const char kRendererCrashTest[] = "renderer-crash-test";
// Causes the renderer process to display a dialog on launch.
const char kRendererStartupDialog[] = "renderer-startup-dialog";
// Causes the plugin process to display a dialog on launch.
const char kPluginStartupDialog[] = "plugin-startup-dialog";
// Specifies a command that should be used to launch the plugin process. Useful
// for running the plugin process through purify or quantify. Ex:
// --plugin-launcher="path\to\purify /Run=yes"
const char kPluginLauncher[] = "plugin-launcher";
// The value of this switch tells the app to listen for and broadcast
// testing-related messages on IPC channel with the given ID.
const char kTestingChannelID[] = "testing-channel";
// The value of this switch specifies which page will be displayed
// in newly-opened tabs. We need this for testing purposes so
// that the UI tests don't depend on what comes up for http://google.com.
const char kHomePage[] = "homepage";
// Causes the process to run as renderer instead of as browser.
const char kRendererProcess[] = "renderer";
// Causes the process to run as a renderer zygote.
const char kZygoteProcess[] = "zygote";
// Path to the exe to run for the renderer and plugin subprocesses.
const char kBrowserSubprocessPath[] = "browser-subprocess-path";
// Causes the process to run as a plugin subprocess.
const char kPluginProcess[] = "plugin";
// Causes the process to run as a worker subprocess.
const char kWorkerProcess[] = "worker";
// Causes the process to run as a NativeClient's sel_ldr subprocess.
const char kNaClProcess[] = "nacl";
// Causes the process to run as a utility subprocess.
const char kUtilityProcess[] = "utility";
// Causes the process to run as a profile import subprocess.
const char kProfileImportProcess[] = "profile-import";
// Runs the renderer and plugins in the same process as the browser
const char kSingleProcess[] = "single-process";
// Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own
// renderer process. We default to using a renderer process for each
// site instance (i.e., group of pages from the same registered domain with
// script connections to each other).
const char kProcessPerTab[] = "process-per-tab";
// Runs a single process for each site (i.e., group of pages from the same
// registered domain) the user visits. We default to using a renderer process
// for each site instance (i.e., group of pages from the same registered
// domain with script connections to each other).
const char kProcessPerSite[] = "process-per-site";
// Runs plugins inside the renderer process
const char kInProcessPlugins[] = "in-process-plugins";
// Runs the renderer outside the sandbox.
const char kNoSandbox[] = "no-sandbox";
// Disables the alternate window station for the renderer.
const char kDisableAltWinstation[] = "disable-winsta";
// Runs the plugin processes inside the sandbox.
const char kSafePlugins[] = "safe-plugins";
// Excludes these plugins from the plugin sandbox.
// This is a comma-separated list of plugin library names.
const char kTrustedPlugins[] = "trusted-plugins";
// Runs the security test for the sandbox.
const char kTestSandbox[] = "test-sandbox";
// Specifies the user data directory, which is where the browser will look
// for all of its state.
const char kUserDataDir[] = "user-data-dir";
// Specifies the plugin data directory, which is where plugins (Gears
// specifically) will store its state.
const char kPluginDataDir[] = "plugin-data-dir";
// Use a specific disk cache location, rather than one derived from the
// UserDatadir.
const char kDiskCacheDir[] = "disk-cache-dir";
// Forces the maximum disk space to be used by the disk cache, in bytes.
const char kDiskCacheSize[] = "disk-cache-size";
// Forces the maximum disk space to be used by the media cache, in bytes.
const char kMediaCacheSize[] = "media-cache-size";
// Whether the multiple profiles feature based on the user-data-dir flag is
// enabled or not.
const char kEnableUserDataDirProfiles[] = "enable-udd-profiles";
// Specifies the path to the user data folder for the parent profile.
const char kParentProfile[] = "parent-profile";
// Specifies that the associated value should be launched in "application" mode.
const char kApp[] = "app";
// Specifies if the dom_automation_controller_ needs to be bound in the
// renderer. This binding happens on per-frame basis and hence can potentially
// be a performance bottleneck. One should only enable it when automating
// dom based tests.
const char kDomAutomationController[] = "dom-automation";
// Tells the plugin process the path of the plugin to load
const char kPluginPath[] = "plugin-path";
// A string used to override the default user agent with a custom one.
const char kUserAgent[] = "user-agent";
// Specifies the flags passed to JS engine
const char kJavaScriptFlags[] = "js-flags";
// The Country we should use. This is normally obtained from the operating
// system during first run and cached in the preferences afterwards. This is a
// string value, the 2 letter code from ISO 3166-1.
const char kCountry[] = "country";
// Will add kWaitForDebugger to every child processes. If a value is passed, it
// will be used as a filter to determine if the child process should have the
// kWaitForDebugger flag passed on or not.
const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
// Will filter log messages to show only the messages that are prefixed
// with the specified value
const char kLogFilterPrefix[] = "log-filter-prefix";
// Force logging to be enabled. Logging is disabled by default in release
// builds.
const char kEnableLogging[] = "enable-logging";
// Force logging to be disabled. Logging is enabled by default in debug
// builds.
const char kDisableLogging[] = "disable-logging";
// Sets the minimum log level. Valid values are from 0 to 3:
// INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
const char kLoggingLevel[] = "log-level";
// Make plugin processes log their sent and received messages to LOG(INFO).
const char kLogPluginMessages[] = "log-plugin-messages";
// Dump any accumualted histograms to the log when browser terminates (requires
// logging to be enabled to really do anything). Used by developers and test
// scripts.
const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
// enable remote debug / automation shell on the specified port
const char kRemoteShellPort[] = "remote-shell-port";
// Runs un-installation steps that were done by chrome first-run.
const char kUninstall[] = "uninstall";
// Number of entries to show in the omnibox popup.
const char kOmniBoxPopupCount[] = "omnibox-popup-count";
// The value of this switch tells the app to listen for and broadcast
// automation-related messages on IPC channel with the given ID.
const char kAutomationClientChannelID[] = "automation-channel";
// Indicates the last session should be restored on startup. This overrides
// the preferences value and is primarily intended for testing. The value of
// this switch is the number of tabs to wait until loaded before
// 'load completed' is sent to the ui_test.
const char kRestoreLastSession[] = "restore-last-session";
// Chrome supports a playback and record mode. Record mode saves *everything*
// to the cache. Playback mode reads data exclusively from the cache. This
// allows us to record a session into the cache and then replay it at will.
const char kRecordMode[] = "record-mode";
const char kPlaybackMode[] = "playback-mode";
// Don't record/playback events when using record & playback.
const char kNoEvents[] = "no-events";
// Support a separate switch that enables the v8 playback extension.
// The extension causes javascript calls to Date.now() and Math.random()
// to return consistent values, such that subsequent loads of the same
// page will result in consistent js-generated data and XHR requests.
// Pages may still be able to generate inconsistent data from plugins.
const char kNoJsRandomness[] = "no-js-randomness";
// Make Windows happy by allowing it to show "Enable access to this program"
// checkbox in Add/Remove Programs->Set Program Access and Defaults. This
// only shows an error box because the only way to hide Chrome is by
// uninstalling it.
const char kHideIcons[] = "hide-icons";
const char kShowIcons[] = "show-icons";
// Make Chrome default browser
const char kMakeDefaultBrowser[] = "make-default-browser";
// Use a specified proxy server, overrides system settings. This switch only
// affects HTTP and HTTPS requests.
const char kProxyServer[] = "proxy-server";
// Don't use a proxy server, always make direct connections. Overrides any
// other proxy server flags that are passed.
const char kNoProxyServer[] = "no-proxy-server";
// Specify a list of hosts for whom we bypass proxy settings and use direct
// connections. Ignored if --proxy-auto-detect or --no-proxy-server are
// also specified.
// TODO(robertshield): Specify host format.
const char kProxyBypassList[] = "proxy-bypass-list";
// Force proxy auto-detection.
const char kProxyAutoDetect[] = "proxy-auto-detect";
// Use the pac script at the given URL
const char kProxyPacUrl[] = "proxy-pac-url";
// Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is
// to use Chromium's network stack to fetch, and V8 to evaluate.
const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver";
// Chrome will support prefetching of DNS information. Until this becomes
// the default, we'll provide a command line switch.
extern const char kDnsLogDetails[] = "dns-log-details";
extern const char kDnsPrefetchDisable[] = "dns-prefetch-disable";
#if defined(OS_LINUX)
// A temporary switch before we implement the client certificate selection UI.
// When an SSL server requests client authentication, select a client
// certificate automatically.
// WARNING: This switch has privacy issues because it reveals the user's
// identity to any server that requests a client certificate without the
// user's consent.
const char kAutoSSLClientAuth[] = "auto-ssl-client-auth";
#endif
// Enables support to debug printing subsystem.
const char kDebugPrint[] = "debug-print";
// Prints the pages on the screen.
const char kPrint[] = "print";
// Browser flag to disable the web inspector for all renderers.
const char kDisableDevTools[] = "disable-dev-tools";
// Enable web inspector for all windows, even if they're part of the browser.
// Allows us to use our dev tools to debug browser windows itself.
const char kAlwaysEnableDevTools[] = "always-enable-dev-tools";
// Enable experimental timeline API.
const char kEnableExtensionTimelineApi[] =
"enable-extension-timeline-api";
// Used to set the value of SessionRestore::num_tabs_to_load_. See
// session_restore.h for details.
const char kTabCountToLoadOnSessionRestore[]=
"tab-count-to-load-on-session-restore";
// Enable dynamic loading of the Memory Profiler DLL, which will trace
// all memory allocations during the run.
const char kMemoryProfiling[] = "memory-profile";
// Adds a "Purge memory" button to the Task Manager, which tries to dump as much
// memory as possible. This is mostly useful for testing how well the
// MemoryPurger functionality (which is normally triggered on Suspend) works.
//
// NOTE: This is only implemented for Views.
const char kPurgeMemoryButton[] = "purge-memory-button";
// By default, cookies are not allowed on file://. They are needed in for
// testing, for example page cycler and layout tests. See bug 1157243.
const char kEnableFileCookies[] = "enable-file-cookies";
// Start the browser maximized, regardless of any previous settings.
const char kStartMaximized[] = "start-maximized";
// Spawn threads to watch for excessive delays in specified message loops.
// User should set breakpoints on Alarm() to examine problematic thread.
// Usage: -enable-watchdog=[ui][io]
// Order of the listed sub-arguments does not matter.
const char kEnableWatchdog[] = "enable-watchdog";
// Display the First Run experience when the browser is started, regardless of
// whether or not it's actually the first run.
const char kFirstRun[] = "first-run";
// Bypass the First Run experience when the browser is started, regardless of
// whether or not it's actually the first run. Overrides kFirstRun in case
// you're for some reason tempted to pass them both.
const char kNoFirstRun[] = "no-first-run";
#if defined(OS_POSIX)
// Bypass the error dialog when the profile lock couldn't be attained.
// This switch is used during automated testing.
const char kNoProcessSingletonDialog[] = "no-process-singleton-dialog";
#endif
// Enable histograming of tasks served by MessageLoop. See about:histograms/Loop
// for results, which show frequency of messages on each thread, including APC
// count, object signalling count, etc.
const char kMessageLoopHistogrammer[] = "message-loop-histogrammer";
// Perform importing from another browser. The value associated with this
// setting encodes the target browser and what items to import.
const char kImport[] = "import";
// Change the DCHECKS to dump memory and continue instead of displaying error
// dialog. This is valid only in Release mode when --enable-dcheck is
// specified.
const char kSilentDumpOnDCHECK[] = "silent-dump-on-dcheck";
// Normally when the user attempts to navigate to a page that was the result of
// a post we prompt to make sure they want to. This switch may be used to
// disable that check. This switch is used during automated testing.
const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
// Disable pop-up blocking.
const char kDisablePopupBlocking[] = "disable-popup-blocking";
// Don't execute JavaScript (browser JS like the new tab page still runs).
const char kDisableJavaScript[] = "disable-javascript";
// Don't enforce the same-origin policy. (Used by people testing their sites.)
const char kDisableWebSecurity[] = "disable-web-security";
// Prevent Java from running.
const char kDisableJava[] = "disable-java";
// Prevent plugins from running.
const char kDisablePlugins[] = "disable-plugins";
// Prevent images from loading.
const char kDisableImages[] = "disable-images";
// Enable remote web font support. SVG font should always work whether
// this option is specified or not.
const char kEnableRemoteFonts[] = "enable-remote-fonts";
// Use the low fragmentation heap for the CRT.
const char kUseLowFragHeapCrt[] = "use-lf-heap";
// Runs the Native Client inside the renderer process.
const char kInternalNaCl[] = "internal-nacl";
#ifndef NDEBUG
// Debug only switch to specify which gears plugin dll to load.
const char kGearsPluginPathOverride[] = "gears-plugin-path";
#endif
// Enable the fastback page cache.
const char kEnableFastback[] = "enable-fastback";
// Disable syncing bookmarks to a Google Account.
const char kDisableSync[] = "disable-sync";
// Use the SyncerThread implementation that matches up with the old pthread
// impl semantics, but using Chrome synchronization primitives. The only
// difference between this and the default is that we now have no timeout on
// Stop(). Should only use if you experience problems with the default.
const char kSyncerThreadTimedStop[] = "syncer-thread-timed-stop";
// Enable support for SDCH filtering (dictionary based expansion of content).
// Optional argument is *the* only domain name that will have SDCH suppport.
// Default is "-enable-sdch" to advertise SDCH on all domains.
// Sample usage with argument: "-enable-sdch=.google.com"
// SDCH is currently only supported server-side for searches on google.com.
const char kSdchFilter[] = "enable-sdch";
// Enable user script support.
const char kEnableUserScripts[] = "enable-user-scripts";
// Disable extensions.
const char kDisableExtensions[] = "disable-extensions";
// Frequency in seconds for Extensions auto-update.
const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
// Load an extension from the specified directory.
const char kLoadExtension[] = "load-extension";
// Package an extension to a .crx installable file from a given directory.
const char kPackExtension[] = "pack-extension";
// Optional PEM private key is to use in signing packaged .crx.
const char kPackExtensionKey[] = "pack-extension-key";
// Show extensions on top with toolbar.
const char kShowExtensionsOnTop[] = "show-extensions-on-top";
// Load an NPAPI plugin from the specified path.
const char kLoadPlugin[] = "load-plugin";
// directory to locate user scripts in as an over-ride of the default
const char kUserScriptsDir[] = "user-scripts-dir";
// Causes the browser to launch directly in incognito mode.
const char kIncognito[] = "incognito";
// Turns on the accessibility in the renderer. Off by default until
// http://b/issue?id=1432077 is fixed.
const char kEnableRendererAccessibility[] =
"enable-renderer-accessibility";
// Pass the name of the current running automated test to Chrome.
const char kTestName[] = "test-name";
// On POSIX only: the contents of this flag are prepended to the renderer
// command line. Useful values might be "valgrind" or "xterm -e gdb --args".
const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
// On POSIX only: the contents of this flag are prepended to the utility
// process command line. Useful values might be "valgrind" or "xterm -e gdb
// --args".
const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
// On Windows only: use the old WinInet-based ftp implemetation.
const char kWininetFtp[] = "wininet-ftp";
// Enable Native Web Worker support
const char kEnableNativeWebWorkers[] = "enable-native-web-workers";
// Causes the worker process allocation to use as many processes as cores.
const char kWebWorkerProcessPerCore[] = "web-worker-process-per-core";
// Causes workers to run together in one process, depending on their domains.
// Note this is duplicated in webworkerclient_impl.cc
const char kWebWorkerShareProcesses[] = "web-worker-share-processes";
// Enables the bookmark menu.
const char kBookmarkMenu[] = "bookmark-menu";
// Enables experimental features for Spellchecker. Right now, the first
// experimental feature is auto spell correct, which corrects words which are
// misppelled by typing the word with two consecutive letters swapped. The
// features that will be added next are:
// 1 - Allow multiple spellcheckers to work simultaneously.
// 2 - Allow automatic detection of spell check language.
// TODO(sidchat): Implement the above fetaures to work under this flag.
const char kExperimentalSpellcheckerFeatures[] =
"experimental-spellchecker-features";
// Enables StatsTable, logging statistics to a global named shared memory table.
const char kEnableStatsTable[] = "enable-stats-table";
// Replaces the audio IPC layer for <audio> and <video> with a mock audio
// device, useful when using remote desktop or machines without sound cards.
// This is temporary until we fix the underlying problem.
//
// TODO(scherkus): remove --disable-audio when we have a proper fallback
// mechanism.
const char kDisableAudio[] = "disable-audio";
// Replaces the buffered data source for <audio> and <video> with a simplified
// resource loader that downloads the entire resource into memory.
//
// TODO(scherkus): remove --simple-data-source when our media resource loading
// is cleaned up and playback testing completed.
const char kSimpleDataSource[] = "simple-data-source";
// Some field tests may rendomized in the browser, and the randomly selected
// outcome needs to be propogated to the renderer. For instance, this is used
// to modify histograms recorded in the renderer, or to get the renderer to
// also set of its state (initialize, or not initialize components) to match the
// experiment(s).
// The argument is a string-ized list of experiment names, and the associated
// value that was randomly selected. In the recent implementetaion, the
// persistent representation generated by field_trial.cc and later decoded, is a
// list of name and value pairs, separated by slashes. See field trial.cc for
// current details.
const char kForceFieldTestNameAndValue[] = "force-fieldtest";
// Allows the new tab page resource to be loaded from a local HTML file. This
// should be a path to the HTML file that you want to use for the new tab page.
// It is used for manually testing new versions of the new tab page only,
// performance will be poor.
const char kNewTabPage[] = "new-tab-page";
// Enables the backend service for web resources, used in the new tab page for
// loading tips and recommendations from a JSON feed.
const char kDisableWebResources[] = "disable-web-resources";
// Whether we should prevent the new tab page from showing the first run
// notification.
const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run";
// Disables the default browser check. Useful for UI/browser tests where we want
// to avoid having the default browser info-bar displayed.
const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
// Enables the Privacy Blacklist with the specified data file.
// The file contains data from all imported blacklists.
const char kPrivacyBlacklist[] = "privacy-blacklist";
// Enables the benchmarking extensions.
const char kEnableBenchmarking[] = "enable-benchmarking";
// The prefix used when starting the zygote process. (i.e. 'gdb --args')
const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
// Enables using ThumbnailStore instead of ThumbnailDatabase for setting and
// getting thumbnails for the new tab page.
const char kThumbnailStore[] = "thumbnail-store";
// Experimental. Shows a dialog asking the user to try chrome. This flag
// is to be used only by the upgrade process.
const char kTryChromeAgain[] = "try-chrome-again";
// The file descriptor limit is set to the value of this switch, subject to the
// OS hard limits. Useful for testing that file descriptor exhaustion is handled
// gracefully.
const char kFileDescriptorLimit[] = "file-descriptor-limit";
// On Windows, converts the page to the currently-installed monitor profile.
// This does NOT enable color management for images. The source is still assumed
// to be sRGB.
const char kEnableMonitorProfile[] = "enable-monitor-profile";
// Disable WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
const char kDisableXSSAuditor[] = "disable-xss-auditor";
// Use Flip for the transport protocol instead of HTTP.
// This is a temporary testing flag.
const wchar_t kUseFlip[] = L"use-flip";
#if defined(OS_POSIX)
// A flag, generated internally by Chrome for renderer and other helper process
// command lines on Linux and Mac. It tells the helper process to enable crash
// dumping and reporting, because helpers cannot access the profile or other
// files needed to make this decision.
const char kEnableCrashReporter[] = "enable-crash-reporter";
#endif
// Enables the new Tabstrip on Windows.
const char kEnableTabtastic2[] = "enable-tabtastic2";
// Number of tabs to pin on startup. This is not use if session restore is
// enabled.
const char kPinnedTabCount[] = "pinned-tab-count";
// Enables the showing of an info-bar instructing user they can search directly
// from the omnibox.
const char kSearchInOmniboxHint[] = "search-in-omnibox-hint";
// Enable local storage. Still buggy.
const char kEnableLocalStorage[] = "enable-local-storage";
// Enable session storage. Still buggy.
const char kEnableSessionStorage[] = "enable-session-storage";
// Allows debugging of sandboxed processes (see zygote_main_linux.cc).
const char kAllowSandboxDebugging[] = "allow-sandbox-debugging";
#if defined(OS_MACOSX)
// Cause the OS X sandbox write to syslog every time an access to a resource
// is denied by the sandbox.
const char kEnableSandboxLogging[] = "enable-sandbox-logging";
#endif
// Enable the seccomp sandbox (Linux only)
const char kEnableSeccompSandbox[] = "enable-seccomp-sandbox";
// Triggers a pletora of diagnostic modes.
const char kDiagnostics[] = "diagnostics";
// Disables the custom JumpList on Windows 7.
const char kDisableCustomJumpList[] = "disable-custom-jumplist";
// Enables HTML5 DB support.
const char kEnableDatabases[] = "enable-databases";
// Enable ApplicationCache. Still mostly not there.
const char kEnableApplicationCache[] = "enable-application-cache";
// Override the default server used for profile sync.
const char kSyncServiceURL[] = "sync-url";
#if defined(OS_CHROMEOS)
// The name of the pipe over which the Chrome OS login manager will send
// single-sign-on cookies.
const char kCookiePipe[] = "cookie-pipe";
// Enable the redirection of viewable document requests to the Google
// Document Viewer.
const char kEnableGView[] = "enable-gview";
#endif
// Enable experimental support for cached byte-ranges.
const char kEnableByteRangeSupport[] = "enable-byte-range-support";
// Explicitly allow additional ports using a comma separated list of port
// numbers.
const char kExplicitlyAllowedPorts[] = "explicitly-allowed-ports";
// Activate (make foreground) myself on launch. Helpful when Chrome
// is launched on the command line (e.g. by Selenium). Only needed on Mac.
const char kActivateOnLaunch[] = "activate-on-launch";
// Enable experimental WebGL support.
const char kEnableExperimentalWebGL[] = "enable-webgl";
// Enabled desktop notifications.
const char kEnableDesktopNotifications[] = "enable-desktop-notifications";
// Enable Web Sockets support.
const char kEnableWebSockets[] = "enable-web-sockets";
} // namespace switches
|