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

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

Issue 19737002: Enable sandbox in local discovery utility process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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) 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 // --args". 784 // --args".
785 const char kUtilityCmdPrefix[] = "utility-cmd-prefix"; 785 const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
786 786
787 // Causes the process to run as a utility subprocess. 787 // Causes the process to run as a utility subprocess.
788 const char kUtilityProcess[] = "utility"; 788 const char kUtilityProcess[] = "utility";
789 789
790 // The utility process is sandboxed, with access to one directory. This flag 790 // The utility process is sandboxed, with access to one directory. This flag
791 // specifies the directory that can be accessed. 791 // specifies the directory that can be accessed.
792 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir"; 792 const char kUtilityProcessAllowedDir[] = "utility-allowed-dir";
793 793
794 // Allows MDns to access network in sandboxed process.
795 const char kUtilityProcessEnableMDns[] = "utility-enable-mdns";
796
794 // Will add kWaitForDebugger to every child processes. If a value is passed, it 797 // Will add kWaitForDebugger to every child processes. If a value is passed, it
795 // will be used as a filter to determine if the child process should have the 798 // will be used as a filter to determine if the child process should have the
796 // kWaitForDebugger flag passed on or not. 799 // kWaitForDebugger flag passed on or not.
797 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; 800 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
798 801
799 // Choose which logging channels in WebCore to activate. See 802 // Choose which logging channels in WebCore to activate. See
800 // Logging.cpp in WebKit's WebCore for a list of available channels. 803 // Logging.cpp in WebKit's WebCore for a list of available channels.
801 const char kWebCoreLogChannels[] = "webcore-log-channels"; 804 const char kWebCoreLogChannels[] = "webcore-log-channels";
802 805
803 // Causes the process to run as a worker subprocess. 806 // Causes the process to run as a worker subprocess.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 896 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
894 897
895 // Enables/disables accelerated compositing for backgrounds of root layers with 898 // Enables/disables accelerated compositing for backgrounds of root layers with
896 // background-attachment: fixed. Requires kForceCompositingMode. 899 // background-attachment: fixed. Requires kForceCompositingMode.
897 const char kDisableAcceleratedFixedRootBackground[] = 900 const char kDisableAcceleratedFixedRootBackground[] =
898 "disable-accelerated-fixed-root-background"; 901 "disable-accelerated-fixed-root-background";
899 const char kEnableAcceleratedFixedRootBackground[] = 902 const char kEnableAcceleratedFixedRootBackground[] =
900 "enable-accelerated-fixed-root-background"; 903 "enable-accelerated-fixed-root-background";
901 904
902 } // namespace switches 905 } // namespace switches
OLDNEW
« content/public/common/content_switches.h ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698