summaryrefslogtreecommitdiffstats
path: root/content/browser/utility_process_host_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/utility_process_host_impl.h')
-rw-r--r--content/browser/utility_process_host_impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 3083b22..dd663dd 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -40,6 +40,9 @@ class CONTENT_EXPORT UtilityProcessHostImpl
virtual void SetExposedDir(const base::FilePath& dir) OVERRIDE;
virtual void EnableMDns() OVERRIDE;
virtual void DisableSandbox() OVERRIDE;
+#if defined(OS_WIN)
+ virtual void ElevatePrivileges() OVERRIDE;
+#endif
virtual const ChildProcessData& GetData() OVERRIDE;
#if defined(OS_POSIX)
virtual void SetEnv(const base::EnvironmentMap& env) OVERRIDE;
@@ -54,6 +57,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// BrowserChildProcessHost:
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+ virtual void OnProcessLaunchFailed() OVERRIDE;
virtual void OnProcessCrashed(int exit_code) OVERRIDE;
// A pointer to our client interface, who will be informed of progress.
@@ -72,6 +76,11 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// Whether to pass switches::kNoSandbox to the child.
bool no_sandbox_;
+#if defined(OS_WIN)
+ // Whether to launch the process with elevated privileges.
+ bool run_elevated_;
+#endif
+
// Flags defined in ChildProcessHost with which to start the process.
int child_flags_;