Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 2509c4f51c8512a52b2672c792c598ac88594b30..ae5bd71cc5ecca54cb11d652ed7e0dd05ae464bb 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -76,6 +76,13 @@ class WebContents : public PageNavigator, |
const WebContents* base_web_contents, |
const SessionStorageNamespaceMap& session_storage_namespace_map); |
+ |
+ // Creates a WebContents to be used as a browser plugin guest. |
+ CONTENT_EXPORT static WebContents* CreateGuest( |
+ BrowserContext* browser_context, |
+ const std::string& host, |
+ int guest_instance_id); |
+ |
// Returns a WebContents that wraps the RenderViewHost, or NULL if the |
// render view host's delegate isn't a WebContents. |
CONTENT_EXPORT static WebContents* FromRenderViewHost( |