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

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
« base/tracked_objects.cc ('K') | « 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 const char kEnableTracking[] = "enable-tracking";
565
557 // Spawns threads to watch for excessive delays in specified message loops. 566 // Spawns threads to watch for excessive delays in specified message loops.
558 // User should set breakpoints on Alarm() to examine problematic thread. 567 // User should set breakpoints on Alarm() to examine problematic thread.
559 // 568 //
560 // Usage: -enable-watchdog=[ui][io] 569 // Usage: -enable-watchdog=[ui][io]
561 // 570 //
562 // Order of the listed sub-arguments does not matter. 571 // Order of the listed sub-arguments does not matter.
563 const char kEnableWatchdog[] = "enable-watchdog"; 572 const char kEnableWatchdog[] = "enable-watchdog";
564 573
565 // Uses WebSocket over SPDY. 574 // Uses WebSocket over SPDY.
566 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; 575 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"; 962 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update";
954 963
955 // TODO(lzheng): Remove this flag once the feature works fine 964 // TODO(lzheng): Remove this flag once the feature works fine
956 // (http://crbug.com/74848). 965 // (http://crbug.com/74848).
957 // 966 //
958 // Disables safebrowsing feature that checks download url and downloads 967 // Disables safebrowsing feature that checks download url and downloads
959 // content's hash to make sure the content are not malicious. 968 // content's hash to make sure the content are not malicious.
960 const char kSbDisableDownloadProtection[] = 969 const char kSbDisableDownloadProtection[] =
961 "safebrowsing-disable-download-protection"; 970 "safebrowsing-disable-download-protection";
962 971
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 972 // Enables the showing of an info-bar instructing user they can search directly
970 // from the omnibox. 973 // from the omnibox.
971 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; 974 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint";
972 975
973 // The LSID of the account to use for the service process. 976 // The LSID of the account to use for the service process.
974 const char kServiceAccountLsid[] = "service-account-lsid"; 977 const char kServiceAccountLsid[] = "service-account-lsid";
975 978
976 // Annotates forms with Autofill field type predictions. 979 // Annotates forms with Autofill field type predictions.
977 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions"; 980 const char kShowAutofillTypePredictions[] = "show-autofill-type-predictions";
978 981
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 1290
1288 // ----------------------------------------------------------------------------- 1291 // -----------------------------------------------------------------------------
1289 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1292 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1290 // 1293 //
1291 // You were going to just dump your switches here, weren't you? Instead, please 1294 // You were going to just dump your switches here, weren't you? Instead, please
1292 // put them in alphabetical order above, or in order inside the appropriate 1295 // put them in alphabetical order above, or in order inside the appropriate
1293 // ifdef at the bottom. The order should match the header. 1296 // ifdef at the bottom. The order should match the header.
1294 // ----------------------------------------------------------------------------- 1297 // -----------------------------------------------------------------------------
1295 1298
1296 } // namespace switches 1299 } // namespace switches
OLDNEW
« base/tracked_objects.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698