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

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

Issue 8391019: Fully enable about:tracking by default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 // preferences. 512 // preferences.
513 const char kEnableResourceContentSettings[] = 513 const char kEnableResourceContentSettings[] =
514 "enable-resource-content-settings"; 514 "enable-resource-content-settings";
515 515
516 // Disables panels (always on-top docked pop-up windows). 516 // Disables panels (always on-top docked pop-up windows).
517 const char kDisablePanels[] = "disable-panels"; 517 const char kDisablePanels[] = "disable-panels";
518 518
519 // Enables speculative TCP/IP preconnection. 519 // Enables speculative TCP/IP preconnection.
520 const char kEnablePreconnect[] = "enable-preconnect"; 520 const char kEnablePreconnect[] = "enable-preconnect";
521 521
522 // Controls the support for SDCH filtering (dictionary based expansion of
523 // content). By default SDCH filtering is enabled. To disable SDCH filtering,
524 // use "--enable-sdch=0" as command line argument. SDCH is currently only
525 // supported server-side for searches on google.com.
526 const char kEnableSdch[] = "enable-sdch";
527
522 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an 528 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an
523 // extra parameter to indicate if the provider should be the default. 529 // extra parameter to indicate if the provider should be the default.
524 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; 530 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2";
525 531
526 // Enables the use of the ShortcutsProvider for autocomplete results. 532 // Enables the use of the ShortcutsProvider for autocomplete results.
527 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider"; 533 const char kEnableShortcutsProvider[] = "enable-shortcuts-provider";
528 534
529 // On platforms that support it, enables smooth scroll animation. 535 // On platforms that support it, enables smooth scroll animation.
530 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; 536 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling";
531 537
532 // Enables syncing extension settings. 538 // Enables syncing extension settings.
533 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings"; 539 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings";
534 540
535 // Enables OAuth sign-in for sync. 541 // Enables OAuth sign-in for sync.
536 const char kEnableSyncOAuth[] = "enable-sync-oauth"; 542 const char kEnableSyncOAuth[] = "enable-sync-oauth";
537 543
538 // Enables syncing custom search engines. 544 // Enables syncing custom search engines.
539 const char kEnableSyncSearchEngines[] = "enable-sync-search-engines"; 545 const char kEnableSyncSearchEngines[] = "enable-sync-search-engines";
540 546
541 // Enables syncing browser sessions. 547 // Enables syncing browser sessions.
542 const char kEnableSyncTabs[] = "enable-sync-tabs"; 548 const char kEnableSyncTabs[] = "enable-sync-tabs";
543 549
544 // Enables syncing browser sessions for other synced clients. 550 // Enables syncing browser sessions for other synced clients.
545 const char kEnableSyncTabsForOtherClients[] = 551 const char kEnableSyncTabsForOtherClients[] =
546 "enable-sync-tabs-for-other-clients"; 552 "enable-sync-tabs-for-other-clients";
547 553
548 // Enable syncing app notifications. 554 // Enable syncing app notifications.
549 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications"; 555 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications";
550 556
551 // Enables context menu for selecting groups of tabs. 557 // Enables context menu for selecting groups of tabs.
552 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; 558 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu";
553 559
554 // Enables the "synced bookmarks" folder. 560 // Enables the "synced bookmarks" folder.
555 const char kEnableSyncedBookmarksFolder[] = "enable-synced-bookmarks-folder"; 561 const char kEnableSyncedBookmarksFolder[] = "enable-synced-bookmarks-folder";
556 562
563 // Enables tracking of tasks in profiler for viewing via about:tracking.
564 // To predominantly disable tracking (profiling), use the command line switch:
565 // --enable-tracking=0
566 // Some tracking will still take place at startup, but it will be turned off
567 // during chrome_browser_main.
568 const char kEnableTracking[] = "enable-tracking";
569
557 // Spawns threads to watch for excessive delays in specified message loops. 570 // Spawns threads to watch for excessive delays in specified message loops.
558 // User should set breakpoints on Alarm() to examine problematic thread. 571 // User should set breakpoints on Alarm() to examine problematic thread.
559 // 572 //
560 // Usage: -enable-watchdog=[ui][io] 573 // Usage: -enable-watchdog=[ui][io]
561 // 574 //
562 // Order of the listed sub-arguments does not matter. 575 // Order of the listed sub-arguments does not matter.
563 const char kEnableWatchdog[] = "enable-watchdog"; 576 const char kEnableWatchdog[] = "enable-watchdog";
564 577
565 // Uses WebSocket over SPDY. 578 // Uses WebSocket over SPDY.
566 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; 579 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy";
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; 966 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update";
954 967
955 // TODO(lzheng): Remove this flag once the feature works fine 968 // TODO(lzheng): Remove this flag once the feature works fine
956 // (http://crbug.com/74848). 969 // (http://crbug.com/74848).
957 // 970 //
958 // Disables safebrowsing feature that checks download url and downloads 971 // Disables safebrowsing feature that checks download url and downloads
959 // content's hash to make sure the content are not malicious. 972 // content's hash to make sure the content are not malicious.
960 const char kSbDisableDownloadProtection[] = 973 const char kSbDisableDownloadProtection[] =
961 "safebrowsing-disable-download-protection"; 974 "safebrowsing-disable-download-protection";
962 975
963 // Controls the support for SDCH filtering (dictionary based expansion of
964 // content). By default SDCH filtering is enabled. To disable SDCH filtering,
965 // use "--enable-sdch=0" as command line argument. SDCH is currently only
966 // supported server-side for searches on google.com.
967 const char kEnableSdch[] = "enable-sdch";
968
969 // Enables the showing of an info-bar instructing user they can search directly 976 // Enables the showing of an info-bar instructing user they can search directly
970 // from the omnibox. 977 // from the omnibox.
971 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; 978 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint";
972 979
973 // The LSID of the account to use for the service process. 980 // The LSID of the account to use for the service process.
974 const char kServiceAccountLsid[] = "service-account-lsid"; 981 const char kServiceAccountLsid[] = "service-account-lsid";
975 982
976 // Annotates forms with Autofill field type predictions. 983 // Annotates forms with Autofill field type predictions.
977 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 984 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
978 985
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 1288
1282 // ----------------------------------------------------------------------------- 1289 // -----------------------------------------------------------------------------
1283 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1290 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1284 // 1291 //
1285 // You were going to just dump your switches here, weren't you? Instead, please 1292 // You were going to just dump your switches here, weren't you? Instead, please
1286 // put them in alphabetical order above, or in order inside the appropriate 1293 // put them in alphabetical order above, or in order inside the appropriate
1287 // ifdef at the bottom. The order should match the header. 1294 // ifdef at the bottom. The order should match the header.
1288 // ----------------------------------------------------------------------------- 1295 // -----------------------------------------------------------------------------
1289 1296
1290 } // namespace switches 1297 } // 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