Index: ppapi/proxy/ppapi_messages.h |
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
index b57e8ebf34e06bbb578130683c0e2286b3242348..a6d53d2c4df3f005b60bd7493d7a91e3ffdbc84c 100644 |
--- a/ppapi/proxy/ppapi_messages.h |
+++ b/ppapi/proxy/ppapi_messages.h |
@@ -289,15 +289,27 @@ IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface, |
IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, |
bool /* online */) |
+// Request a list of sites that have data stored from the plugin. The plugin |
yzshen1
2012/07/25 23:56:24
nit: Request -> Requests
Bernhard Bauer
2012/07/26 00:18:53
Done.
|
+// process will respond with PpapiHostMsg_GetSitesWithDataResult. This is used |
+// for Flash. |
+IPC_MESSAGE_CONTROL2(PpapiMsg_GetSitesWithData, |
+ uint32 /* request_id */, |
+ FilePath /* plugin_data_path */) |
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_GetSitesWithDataResult, |
+ uint32 /* request_id */, |
+ std::vector<std::string> /* sites */) |
+ |
// Instructs the plugin to clear data for the given site & time. The plugin |
// process will respond with PpapiHostMsg_ClearSiteDataResult. This is used |
// for Flash. |
-IPC_MESSAGE_CONTROL4(PpapiMsg_ClearSiteData, |
+IPC_MESSAGE_CONTROL5(PpapiMsg_ClearSiteData, |
+ uint32 /* request_id */, |
FilePath /* plugin_data_path */, |
std::string /* site */, |
uint64 /* flags */, |
uint64 /* max_age */) |
-IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult, |
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_ClearSiteDataResult, |
+ uint32 /* request_id */, |
bool /* success */) |
IPC_MESSAGE_CONTROL2(PpapiMsg_DeauthorizeContentLicenses, |