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

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";
605
603 // Overrides the default/calculated limit to the number of renderer processes. 606 // 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 607 // Very high values for this setting can lead to high memory/resource usage
605 // or instability. 608 // or instability.
606 const char kRendererProcessLimit[] = "renderer-process-limit"; 609 const char kRendererProcessLimit[] = "renderer-process-limit";
607 610
608 // Causes the renderer process to display a dialog on launch. 611 // Causes the renderer process to display a dialog on launch.
609 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 612 const char kRendererStartupDialog[] = "renderer-startup-dialog";
610 613
611 // Enables accelerated compositing for overflow scroll. Promotes eligible 614 // Enables accelerated compositing for overflow scroll. Promotes eligible
612 // overflow:scroll elements to layers to enable accelerated scrolling for them. 615 // overflow:scroll elements to layers to enable accelerated scrolling for them.
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 const char kOverscrollHistoryNavigation[] = 804 const char kOverscrollHistoryNavigation[] =
802 "overscroll-history-navigation"; 805 "overscroll-history-navigation";
803 806
804 // Forward overscroll event data from the renderer to the browser. 807 // Forward overscroll event data from the renderer to the browser.
805 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 808 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
806 809
807 // Enables 'image/webp' accept header for image requests. 810 // Enables 'image/webp' accept header for image requests.
808 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 811 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
809 812
810 } // namespace switches 813 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698