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

Unified Diff: content/public/browser/utility_process_host.h

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds the elevation flag to the utility process. Created 6 years, 10 months 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/public/browser/utility_process_host.h
diff --git a/content/public/browser/utility_process_host.h b/content/public/browser/utility_process_host.h
index 1f027a8610b529c771ad28689c62c1d25fae6017..c39c76ebf2dff8595af5b669a9f7bbaedf3cc34d 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;
« no previous file with comments | « content/public/browser/browser_child_process_host_delegate.h ('k') | content/public/browser/utility_process_host_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698