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

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: Mostly test cleanup. Created 6 years, 11 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 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 // Causes the process to run as a utility subprocess. 885 // Causes the process to run as a utility subprocess.
886 const char kUtilityProcess[] = "utility"; 886 const char kUtilityProcess[] = "utility";
887 887
888 // The utility process is sandboxed, with access to one directory. This flag 888 // The utility process is sandboxed, with access to one directory. This flag
889 // specifies the directory that can be accessed. 889 // specifies the directory that can be accessed.
890 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; 890 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir";
891 891
892 // Allows MDns to access network in sandboxed process. 892 // Allows MDns to access network in sandboxed process.
893 const char kUtilityProcessEnableMDns[] = "utility-enable-mdns"; 893 const char kUtilityProcessEnableMDns[] = "utility-enable-mdns";
894 894
895 const char kUtilityProcessRunningElevated[] = "utility-run-elevated";
896
895 // Will add kWaitForDebugger to every child processes. If a value is passed, it 897 // Will add kWaitForDebugger to every child processes. If a value is passed, it
896 // will be used as a filter to determine if the child process should have the 898 // will be used as a filter to determine if the child process should have the
897 // kWaitForDebugger flag passed on or not. 899 // kWaitForDebugger flag passed on or not.
898 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; 900 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
899 901
900 // Choose which logging channels in WebCore to activate. See 902 // Choose which logging channels in WebCore to activate. See
901 // Logging.cpp in WebKit's WebCore for a list of available channels. 903 // Logging.cpp in WebKit's WebCore for a list of available channels.
902 const char kWebCoreLogChannels[] = "webcore-log-channels"; 904 const char kWebCoreLogChannels[] = "webcore-log-channels";
903 905
904 // Causes the process to run as a worker subprocess. 906 // Causes the process to run as a worker subprocess.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 #endif 990 #endif
989 991
990 #if defined(USE_AURA) 992 #if defined(USE_AURA)
991 // Forces usage of the test compositor. Needed to run ui tests on bots. 993 // Forces usage of the test compositor. Needed to run ui tests on bots.
992 extern const char kTestCompositor[] = "test-compositor"; 994 extern const char kTestCompositor[] = "test-compositor";
993 #endif 995 #endif
994 996
995 // Don't dump stuff here, follow the same order as the header. 997 // Don't dump stuff here, follow the same order as the header.
996 998
997 } // namespace switches 999 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698