summaryrefslogtreecommitdiffstats
path: root/chromium/content/public/browser/utility_process_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/public/browser/utility_process_host.h')
-rw-r--r--chromium/content/public/browser/utility_process_host.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/chromium/content/public/browser/utility_process_host.h b/chromium/content/public/browser/utility_process_host.h
index 1f027a8610b..756d50f1d1e 100644
--- a/chromium/content/public/browser/utility_process_host.h
+++ b/chromium/content/public/browser/utility_process_host.h
@@ -20,9 +20,6 @@ namespace content {
class UtilityProcessHostClient;
struct ChildProcessData;
-typedef base::Thread* (*UtilityMainThreadFactoryFunction)(
- const std::string& id);
-
// This class acts as the browser-side host to a utility child process. A
// utility process is a short-lived process that is created to run a specific
// task. This class lives solely on the IO thread.
@@ -61,15 +58,17 @@ class UtilityProcessHost : public IPC::Sender,
// Make the process run without a sandbox.
virtual void DisableSandbox() = 0;
+#if defined(OS_WIN)
+ // Make the process run elevated.
+ virtual void ElevatePrivileges() = 0;
+#endif
+
// Returns information about the utility child process.
virtual const ChildProcessData& GetData() = 0;
#if defined(OS_POSIX)
virtual void SetEnv(const base::EnvironmentMap& env) = 0;
#endif
-
- CONTENT_EXPORT static void RegisterUtilityMainThreadFactory(
- UtilityMainThreadFactoryFunction create);
};
}; // namespace content