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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually works now. Removes unnecessary logging. Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 039e20f8c509c7487985535af442eada990adc05..98c58f627556cd753df7323762698f3cbe914e94 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -40,6 +40,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
virtual void SetExposedDir(const base::FilePath& dir) OVERRIDE;
virtual void EnableMDns() OVERRIDE;
virtual void DisableSandbox() OVERRIDE;
+ virtual void ElevatePrivileges() OVERRIDE;
virtual void EnableZygote() OVERRIDE;
virtual const ChildProcessData& GetData() OVERRIDE;
#if defined(OS_POSIX)
@@ -72,6 +73,9 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// Whether to pass switches::kNoSandbox to the child.
bool no_sandbox_;
+ // Whether to pass switches::kNoSandbox to the child.
mef 2013/12/10 15:25:18 wrong comment.
+ bool run_elevated_;
+
// Flags defined in ChildProcessHost with which to start the process.
int child_flags_;

Powered by Google App Engine
This is Rietveld 408576698