Index: content/browser/browser_plugin/browser_plugin_guest.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
index f0b3039019282c15f0822198145f4d4ffb08597c..bd1860ffe78a8aca1241f9a6506e032462c46278 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -75,6 +75,10 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver, |
WebContentsImpl* web_contents, |
const BrowserPluginHostMsg_CreateGuest_Params& params); |
+ // Called before destroying guest to allow guest to perform any necessary |
+ // clean-up. |
+ void Destroy(); |
+ |
// Overrides factory for testing. Default (NULL) value indicates regular |
// (non-test) environment. |
static void set_factory_for_testing(BrowserPluginHostFactory* factory) { |