summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_utility_process_host.cc
diff options
context:
space:
mode:
authorhaven@chromium.org <haven@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 14:45:35 +0000
committerhaven@chromium.org <haven@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-11 14:45:35 +0000
commitfa01e47350050ca5be93589414a21d4dc5579107 (patch)
tree82f43d07d7ccba3bbd5ff275a6f6d92e8d72bc51 /chrome/service/service_utility_process_host.cc
parentbfd21809b814c4773725497791b841499af9e0b5 (diff)
downloadchromium_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 'chrome/service/service_utility_process_host.cc')
-rw-r--r--chrome/service/service_utility_process_host.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
index 3e8ee3d..3054adc 100644
--- a/chrome/service/service_utility_process_host.cc
+++ b/chrome/service/service_utility_process_host.cc
@@ -268,6 +268,10 @@ bool ServiceUtilityProcessHost::OnMessageReceived(const IPC::Message& message) {
return handled;
}
+base::ProcessHandle ServiceUtilityProcessHost::GetHandle() const {
+ return handle_;
+}
+
void ServiceUtilityProcessHost::OnRenderPDFPagesToMetafileSucceeded(
int highest_rendered_page_number,
double scale_factor) {