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

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

Issue 8499050: Change command line switch for controlling profiling (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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 const char kEnablePlatformApps[] = "enable-platform-apps"; 513 const char kEnablePlatformApps[] = "enable-platform-apps";
514 514
515 // Enables content settings based on host *and* plug-in in the user 515 // Enables content settings based on host *and* plug-in in the user
516 // preferences. 516 // preferences.
517 const char kEnableResourceContentSettings[] = 517 const char kEnableResourceContentSettings[] =
518 "enable-resource-content-settings"; 518 "enable-resource-content-settings";
519 519
520 // Enables speculative TCP/IP preconnection. 520 // Enables speculative TCP/IP preconnection.
521 const char kEnablePreconnect[] = "enable-preconnect"; 521 const char kEnablePreconnect[] = "enable-preconnect";
522 522
523 // Enables tracking of tasks in profiler for viewing via about:profiler.
524 // To predominantly disable tracking (profiling), use the command line switch:
525 // --enable-profiling=0
526 // Some tracking will still take place at startup, but it will be turned off
527 // during chrome_browser_main.
528 const char kEnableProfiling[] = "enable-profiling";
529
523 // Controls the support for SDCH filtering (dictionary based expansion of 530 // Controls the support for SDCH filtering (dictionary based expansion of
524 // content). By default SDCH filtering is enabled. To disable SDCH filtering, 531 // content). By default SDCH filtering is enabled. To disable SDCH filtering,
525 // use "--enable-sdch=0" as command line argument. SDCH is currently only 532 // use "--enable-sdch=0" as command line argument. SDCH is currently only
526 // supported server-side for searches on google.com. 533 // supported server-side for searches on google.com.
527 const char kEnableSdch[] = "enable-sdch"; 534 const char kEnableSdch[] = "enable-sdch";
528 535
529 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an 536 // Enables the IsSearchProviderInstalled and InstallSearchProvider with an
530 // extra parameter to indicate if the provider should be the default. 537 // extra parameter to indicate if the provider should be the default.
531 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2"; 538 const char kEnableSearchProviderApiV2[] = "enable-search-provider-api-v2";
532 539
(...skipping 18 matching lines...) Expand all
551 558
552 // Enable syncing app notifications. 559 // Enable syncing app notifications.
553 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications"; 560 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications";
554 561
555 // Enables context menu for selecting groups of tabs. 562 // Enables context menu for selecting groups of tabs.
556 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; 563 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu";
557 564
558 // Enables the "synced bookmarks" folder. 565 // Enables the "synced bookmarks" folder.
559 const char kEnableSyncedBookmarksFolder[] = "enable-synced-bookmarks-folder"; 566 const char kEnableSyncedBookmarksFolder[] = "enable-synced-bookmarks-folder";
560 567
561 // Enables tracking of tasks in profiler for viewing via about:tracking.
562 // To predominantly disable tracking (profiling), use the command line switch:
563 // --enable-tracking=0
564 // Some tracking will still take place at startup, but it will be turned off
565 // during chrome_browser_main.
566 const char kEnableTracking[] = "enable-tracking";
567
568 // Spawns threads to watch for excessive delays in specified message loops. 568 // Spawns threads to watch for excessive delays in specified message loops.
569 // User should set breakpoints on Alarm() to examine problematic thread. 569 // User should set breakpoints on Alarm() to examine problematic thread.
570 // 570 //
571 // Usage: -enable-watchdog=[ui][io] 571 // Usage: -enable-watchdog=[ui][io]
572 // 572 //
573 // Order of the listed sub-arguments does not matter. 573 // Order of the listed sub-arguments does not matter.
574 const char kEnableWatchdog[] = "enable-watchdog"; 574 const char kEnableWatchdog[] = "enable-watchdog";
575 575
576 // Uses WebSocket over SPDY. 576 // Uses WebSocket over SPDY.
577 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy"; 577 const char kEnableWebSocketOverSpdy[] = "enable-websocket-over-spdy";
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 1297
1298 // ----------------------------------------------------------------------------- 1298 // -----------------------------------------------------------------------------
1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1300 // 1300 //
1301 // You were going to just dump your switches here, weren't you? Instead, please 1301 // You were going to just dump your switches here, weren't you? Instead, please
1302 // put them in alphabetical order above, or in order inside the appropriate 1302 // put them in alphabetical order above, or in order inside the appropriate
1303 // ifdef at the bottom. The order should match the header. 1303 // ifdef at the bottom. The order should match the header.
1304 // ----------------------------------------------------------------------------- 1304 // -----------------------------------------------------------------------------
1305 1305
1306 } // namespace switches 1306 } // 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