diff options
author | haven@chromium.org <haven@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 14:45:35 +0000 |
---|---|---|
committer | haven@chromium.org <haven@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 14:45:35 +0000 |
commit | fa01e47350050ca5be93589414a21d4dc5579107 (patch) | |
tree | 82f43d07d7ccba3bbd5ff275a6f6d92e8d72bc51 /content/public/browser/utility_process_host.h | |
parent | bfd21809b814c4773725497791b841499af9e0b5 (diff) | |
download | chromium_src-fa01e47350050ca5be93589414a21d4dc5579107.zip chromium_src-fa01e47350050ca5be93589414a21d4dc5579107.tar.gz chromium_src-fa01e47350050ca5be93589414a21d4dc5579107.tar.bz2 |
Creates a way to launch the utility process with elevated privileges on Windows systems for the rare operations that require administrator access.
IPCs to the utility process will be filtered when it is running elevated.
BUG=331881
Review URL: https://codereview.chromium.org/98603007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/utility_process_host.h')
-rw-r--r-- | content/public/browser/utility_process_host.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h index 1f027a8..c39c76e 100644 --- a/content/public/browser/utility_process_host.h +++ b/content/public/browser/utility_process_host.h @@ -61,6 +61,11 @@ 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; |