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

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

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds the elevation flag to the utility process. Created 6 years, 10 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') | no next file » | 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 // Causes the process to run as a utility subprocess. 950 // Causes the process to run as a utility subprocess.
951 const char kUtilityProcess[] = "utility"; 951 const char kUtilityProcess[] = "utility";
952 952
953 // The utility process is sandboxed, with access to one directory. This flag 953 // The utility process is sandboxed, with access to one directory. This flag
954 // specifies the directory that can be accessed. 954 // specifies the directory that can be accessed.
955 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; 955 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir";
956 956
957 // Allows MDns to access network in sandboxed process. 957 // Allows MDns to access network in sandboxed process.
958 const char kUtilityProcessEnableMDns[] = "utility-enable-mdns"; 958 const char kUtilityProcessEnableMDns[] = "utility-enable-mdns";
959 959
960 const char kUtilityProcessRunningElevated[] = "utility-run-elevated";
961
960 // Will add kWaitForDebugger to every child processes. If a value is passed, it 962 // Will add kWaitForDebugger to every child processes. If a value is passed, it
961 // will be used as a filter to determine if the child process should have the 963 // will be used as a filter to determine if the child process should have the
962 // kWaitForDebugger flag passed on or not. 964 // kWaitForDebugger flag passed on or not.
963 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; 965 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
964 966
965 // Overrides the amount of shared memory the webgl command buffer allocates 967 // Overrides the amount of shared memory the webgl command buffer allocates
966 const char kWebGLCommandBufferSizeKb[] = "webgl-command-buffer-size-kb"; 968 const char kWebGLCommandBufferSizeKb[] = "webgl-command-buffer-size-kb";
967 969
968 // Causes the process to run as a worker subprocess. 970 // Causes the process to run as a worker subprocess.
969 const char kWorkerProcess[] = "worker"; 971 const char kWorkerProcess[] = "worker";
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 #endif 1064 #endif
1063 1065
1064 #if defined(OS_POSIX) 1066 #if defined(OS_POSIX)
1065 // Causes the child processes to cleanly exit via calling exit(). 1067 // Causes the child processes to cleanly exit via calling exit().
1066 const char kChildCleanExit[] = "child-clean-exit"; 1068 const char kChildCleanExit[] = "child-clean-exit";
1067 #endif 1069 #endif
1068 1070
1069 // Don't dump stuff here, follow the same order as the header. 1071 // Don't dump stuff here, follow the same order as the header.
1070 1072
1071 } // namespace switches 1073 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698