Chromium Code Reviews| 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 */) |