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

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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/DEPS » ('j') | 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) 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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 // Causes the renderer process to throw an assertion on launch. 596 // Causes the renderer process to throw an assertion on launch.
597 const char kRendererAssertTest[] = "renderer-assert-test"; 597 const char kRendererAssertTest[] = "renderer-assert-test";
598 598
599 // On POSIX only: the contents of this flag are prepended to the renderer 599 // On POSIX only: the contents of this flag are prepended to the renderer
600 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 600 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
601 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; 601 const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
602 602
603 // Causes the process to run as renderer instead of as browser. 603 // Causes the process to run as renderer instead of as browser.
604 const char kRendererProcess[] = "renderer"; 604 const char kRendererProcess[] = "renderer";
605 605
606 // Enable the Vtune profiler support.
607 const char kEnableVtune[] = "enable-vtune-support";
608
606 // Overrides the default/calculated limit to the number of renderer processes. 609 // Overrides the default/calculated limit to the number of renderer processes.
607 // Very high values for this setting can lead to high memory/resource usage 610 // Very high values for this setting can lead to high memory/resource usage
608 // or instability. 611 // or instability.
609 const char kRendererProcessLimit[] = "renderer-process-limit"; 612 const char kRendererProcessLimit[] = "renderer-process-limit";
610 613
611 // Causes the renderer process to display a dialog on launch. 614 // Causes the renderer process to display a dialog on launch.
612 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 615 const char kRendererStartupDialog[] = "renderer-startup-dialog";
613 616
614 // Enables accelerated compositing for overflow scroll. Promotes eligible 617 // Enables accelerated compositing for overflow scroll. Promotes eligible
615 // overflow:scroll elements to layers to enable accelerated scrolling for them. 618 // overflow:scroll elements to layers to enable accelerated scrolling for them.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 const char kOverscrollHistoryNavigation[] = 807 const char kOverscrollHistoryNavigation[] =
805 "overscroll-history-navigation"; 808 "overscroll-history-navigation";
806 809
807 // Forward overscroll event data from the renderer to the browser. 810 // Forward overscroll event data from the renderer to the browser.
808 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 811 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
809 812
810 // Enables 'image/webp' accept header for image requests. 813 // Enables 'image/webp' accept header for image requests.
811 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 814 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
812 815
813 } // namespace switches 816 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698