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

Unified Diff: content/common/utility_messages.h

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleans up ChildProcessLauncher implementations. Created 6 years, 11 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/common/utility_messages.h
diff --git a/content/common/utility_messages.h b/content/common/utility_messages.h
index 1e5c68bfea3356eb466df21535a54ad8b287b655..fed69ddec40f871d6d27546c8ee7654f3047bb7b 100644
--- a/content/common/utility_messages.h
+++ b/content/common/utility_messages.h
@@ -27,6 +27,9 @@ IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Started)
// Tells the utility process that it can shutdown.
IPC_MESSAGE_CONTROL0(UtilityMsg_BatchMode_Finished)
+// Checks whether the utility process is running elevated.
jam 2014/01/30 21:41:03 hmm, we shouldn't be putting testing IPCs here. es
Drew Haven 2014/01/31 20:00:12 Ah, in order to create the test I needed the utili
+IPC_MESSAGE_CONTROL0(UtilityMsg_IsElevated)
+
#if defined(OS_POSIX)
// Tells the utility process to load each plugin in the order specified by the
// vector. It will respond after each load with the WebPluginInfo.
@@ -50,3 +53,8 @@ IPC_SYNC_MESSAGE_CONTROL2_0(UtilityHostMsg_LoadedPlugin,
uint32_t /* index in the vector */,
content::WebPluginInfo /* plugin info */)
#endif // OS_POSIX
+
+// Response to tell the browser whether the Utility process is actually
+// elevated.
+IPC_MESSAGE_CONTROL1(UtilityHostMsg_IsElevated,
+ bool /* true if elevated */)

Powered by Google App Engine
This is Rietveld 408576698