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

Side by Side Diff: content/public/common/content_switches.cc

Issue 14630005: This patch is to enable the vtune profiling tool support in chrome. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 // Causes the renderer process to throw an assertion on launch. 593 // Causes the renderer process to throw an assertion on launch.
594 const char kRendererAssertTest[] = "renderer-assert-test"; 594 const char kRendererAssertTest[] = "renderer-assert-test";
595 595
596 // On POSIX only: the contents of this flag are prepended to the renderer 596 // On POSIX only: the contents of this flag are prepended to the renderer
597 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 597 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
598 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; 598 const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
599 599
600 // Causes the process to run as renderer instead of as browser. 600 // Causes the process to run as renderer instead of as browser.
601 const char kRendererProcess[] = "renderer"; 601 const char kRendererProcess[] = "renderer";
602 602
603 // Enable the Vtune profiler support.
604 const char kEnableVtune[] = "enable-vtune-support";
Avi (use Gerrit) 2013/05/10 18:20:47 Blank line after this.
603 // Overrides the default/calculated limit to the number of renderer processes. 605 // Overrides the default/calculated limit to the number of renderer processes.
604 // Very high values for this setting can lead to high memory/resource usage 606 // Very high values for this setting can lead to high memory/resource usage
605 // or instability. 607 // or instability.
606 const char kRendererProcessLimit[] = "renderer-process-limit"; 608 const char kRendererProcessLimit[] = "renderer-process-limit";
607 609
608 // Causes the renderer process to display a dialog on launch. 610 // Causes the renderer process to display a dialog on launch.
609 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 611 const char kRendererStartupDialog[] = "renderer-startup-dialog";
610 612
611 // Enables accelerated compositing for overflow scroll. Promotes eligible 613 // Enables accelerated compositing for overflow scroll. Promotes eligible
612 // overflow:scroll elements to layers to enable accelerated scrolling for them. 614 // overflow:scroll elements to layers to enable accelerated scrolling for them.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 // Enables or disables history navigation in response to horizontal overscroll. 800 // Enables or disables history navigation in response to horizontal overscroll.
799 // Set the value to '1' to enable the feature, and set to '0' to disable. 801 // Set the value to '1' to enable the feature, and set to '0' to disable.
800 // Defaults to enabled. 802 // Defaults to enabled.
801 const char kOverscrollHistoryNavigation[] = 803 const char kOverscrollHistoryNavigation[] =
802 "overscroll-history-navigation"; 804 "overscroll-history-navigation";
803 805
804 // Enables 'image/webp' accept header for image requests. 806 // Enables 'image/webp' accept header for image requests.
805 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 807 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
806 808
807 } // namespace switches 809 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698