Index: webkit/plugins/npapi/plugin_lib.cc |
diff --git a/webkit/plugins/npapi/plugin_lib.cc b/webkit/plugins/npapi/plugin_lib.cc |
index d801ee0351e7331af2f17b3f9f694913e82ce41f..f0793c5be7dbca503f8cb82e77357d79f2f59c3d 100644 |
--- a/webkit/plugins/npapi/plugin_lib.cc |
+++ b/webkit/plugins/npapi/plugin_lib.cc |
@@ -137,6 +137,22 @@ void PluginLib::NP_Shutdown(void) { |
entry_points_.np_shutdown(); |
} |
+NPError PluginLib::NP_ClearSiteData(const char* site, |
+ uint64 flags, |
+ uint64 max_age) { |
+ DCHECK(initialized_); |
+ if (plugin_funcs_.clearsitedata) |
+ return plugin_funcs_.clearsitedata(site, flags, max_age); |
+ return NPERR_INVALID_FUNCTABLE_ERROR; |
+} |
+ |
+char** PluginLib::NP_GetSitesWithData() { |
+ DCHECK(initialized_); |
+ if (plugin_funcs_.getsiteswithdata) |
+ return plugin_funcs_.getsiteswithdata(); |
+ return NULL; |
+} |
+ |
void PluginLib::PreventLibraryUnload() { |
skip_unload_ = true; |
} |