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

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

Issue 7054080: Add a flag to print the handles held by a child process when it shuts down. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
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 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 // --args". 994 // --args".
995 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 995 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
996 996
997 // Print version information and quit. 997 // Print version information and quit.
998 const char kVersion[] = "version"; 998 const char kVersion[] = "version";
999 999
1000 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is 1000 // Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is
1001 // to use Chromium's network stack to fetch, and V8 to evaluate. 1001 // to use Chromium's network stack to fetch, and V8 to evaluate.
1002 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver"; 1002 const char kWinHttpProxyResolver[] = "winhttp-proxy-resolver";
1003 1003
1004 #if defined(OS_WIN)
1005 // Enumerates and prints a child process' most dangerous handles when it
1006 // is terminated.
1007 const char kAuditHandles[] = "enable-handle-auditing";
1008
1009 // The same as kAuditHandles except all handles are enumerated.
1010 const char kAuditAllHandles[] = "enable-handle-auditing-all";
1011 #endif
1012
1004 #if defined(OS_CHROMEOS) 1013 #if defined(OS_CHROMEOS)
1005 // Enable WebUI based login screens. 1014 // Enable WebUI based login screens.
1006 const char kWebUILogin[] = "webui-login"; 1015 const char kWebUILogin[] = "webui-login";
1007 1016
1008 // Enables device policy support on ChromeOS. 1017 // Enables device policy support on ChromeOS.
1009 const char kEnableDevicePolicy[] = "enable-device-policy"; 1018 const char kEnableDevicePolicy[] = "enable-device-policy";
1010 1019
1011 // Enable the redirection of viewable document requests to the Google 1020 // Enable the redirection of viewable document requests to the Google
1012 // Document Viewer. 1021 // Document Viewer.
1013 const char kEnableGView[] = "enable-gview"; 1022 const char kEnableGView[] = "enable-gview";
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 1192
1184 // ----------------------------------------------------------------------------- 1193 // -----------------------------------------------------------------------------
1185 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1194 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1186 // 1195 //
1187 // You were going to just dump your switches here, weren't you? Instead, 1196 // You were going to just dump your switches here, weren't you? Instead,
1188 // please put them in alphabetical order above, or in order inside the 1197 // please put them in alphabetical order above, or in order inside the
1189 // appropriate ifdef at the bottom. The order should match the header. 1198 // appropriate ifdef at the bottom. The order should match the header.
1190 // ----------------------------------------------------------------------------- 1199 // -----------------------------------------------------------------------------
1191 1200
1192 } // namespace switches 1201 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698