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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 12189018: <webview>: Implement WebRequest API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Diff from latest patch Created 7 years, 10 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: 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) {

Powered by Google App Engine
This is Rietveld 408576698