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

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

Issue 2447143003: Use kRenderClientId command line flag when starting a render process (Closed)
Patch Set: Added RenderThreadImpl::client_id_ to store client ID and avoid repetitive string parsing Created 4 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/renderer/render_thread.h » ('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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 // Enables more web features over insecure connections. Designed to be used 741 // Enables more web features over insecure connections. Designed to be used
742 // for testing purposes only. 742 // for testing purposes only.
743 const char kReduceSecurityForTesting[] = "reduce-security-for-testing"; 743 const char kReduceSecurityForTesting[] = "reduce-security-for-testing";
744 744
745 // Register Pepper plugins (see pepper_plugin_list.cc for its format). 745 // Register Pepper plugins (see pepper_plugin_list.cc for its format).
746 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; 746 const char kRegisterPepperPlugins[] = "register-pepper-plugins";
747 747
748 // Enables remote debug over HTTP on the specified port. 748 // Enables remote debug over HTTP on the specified port.
749 const char kRemoteDebuggingPort[] = "remote-debugging-port"; 749 const char kRemoteDebuggingPort[] = "remote-debugging-port";
750 750
751 const char kRendererClientId[] = "renderer-client-id";
752
751 // The contents of this flag are prepended to the renderer command line. 753 // The contents of this flag are prepended to the renderer command line.
752 // Useful values might be "valgrind" or "xterm -e gdb --args". 754 // Useful values might be "valgrind" or "xterm -e gdb --args".
753 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; 755 const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
754 756
755 // Causes the process to run as renderer instead of as browser. 757 // Causes the process to run as renderer instead of as browser.
756 const char kRendererProcess[] = "renderer"; 758 const char kRendererProcess[] = "renderer";
757 759
758 // Overrides the default/calculated limit to the number of renderer processes. 760 // Overrides the default/calculated limit to the number of renderer processes.
759 // Very high values for this setting can lead to high memory/resource usage 761 // Very high values for this setting can lead to high memory/resource usage
760 // or instability. 762 // or instability.
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 // the given directory. Used primarily to gather samples for IPC fuzzing. 1072 // the given directory. Used primarily to gather samples for IPC fuzzing.
1071 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1073 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1072 1074
1073 // Specifies the testcase used by the IPC fuzzer. 1075 // Specifies the testcase used by the IPC fuzzer.
1074 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1076 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1075 #endif 1077 #endif
1076 1078
1077 // Don't dump stuff here, follow the same order as the header. 1079 // Don't dump stuff here, follow the same order as the header.
1078 1080
1079 } // namespace switches 1081 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698