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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 9981015: Add an interface for Flash to clear its data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 0a2dcf26ed2de90e9c025b17743974a25ebd3164..d683e6ce14cf80ba7cf06caa0077fb15e624a825 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -243,8 +243,16 @@ IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface,
std::string /* interface_name */,
bool /* result */)
-// Broker Process.
+// Instructs the plugin to clear data for the given site & time. The plugin
+// process will respond with PpapiHostMsg_ClearSiteDataResult.
+IPC_MESSAGE_CONTROL3(PpapiMsg_ClearSiteData,
+ std::string /* site */,
+ uint64 /* flags */,
+ uint64 /* max_age */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_ClearSiteDataResult,
+ bool /* success */)
+// Broker Process.
IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_ConnectToPlugin,
PP_Instance /* instance */,
IPC::PlatformFileForTransit /* handle */,

Powered by Google App Engine
This is Rietveld 408576698