Chromium Code Reviews| Index: content/ppapi_plugin/ppapi_thread.h |
| diff --git a/content/ppapi_plugin/ppapi_thread.h b/content/ppapi_plugin/ppapi_thread.h |
| index 0784dd3349f41009ea86e518fdc94b28ea5cd1a2..dda77c3d30b118cacbe80c4e8058b03a27bf2584 100644 |
| --- a/content/ppapi_plugin/ppapi_thread.h |
| +++ b/content/ppapi_plugin/ppapi_thread.h |
| @@ -10,6 +10,7 @@ |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| +#include "base/file_path.h" |
|
viettrungluu
2012/04/11 02:48:10
You can just forward-declare FilePath.
OTOH, you
|
| #include "base/memory/scoped_ptr.h" |
| #include "base/process.h" |
| #include "base/scoped_native_library.h" |
| @@ -55,9 +56,19 @@ class PpapiThread : public ChildThread, |
| void OnMsgLoadPlugin(const FilePath& path); |
| void OnMsgCreateChannel(base::ProcessHandle host_process_handle, |
| int renderer_id); |
| + void OnMsgClearSiteData(const FilePath& profile_path, |
| + const std::string& site, |
| + uint64 flags, |
| + uint64 max_age); |
| void OnMsgSetNetworkState(bool online); |
| void OnPluginDispatcherMessageReceived(const IPC::Message& msg); |
| + // Requests that the plugin clear data, returning true on success. |
| + bool ClearSiteData(const FilePath& profile_path, |
| + const std::string& site, |
| + uint64 flags, |
| + uint64 max_age); |
| + |
| // Sets up the channel to the given renderer. On success, returns true and |
| // fills the given ChannelHandle with the information from the new channel. |
| bool SetupRendererChannel(base::ProcessHandle host_process_handle, |