Index: content/browser/browser_plugin/browser_plugin_guest_manager.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest_manager.h b/content/browser/browser_plugin/browser_plugin_guest_manager.h |
index 0d29d34bd2a2b2cb7c231bd4532df15253689dd6..f37f0c27dd5414d52e5c8d61c9742a0fe38aee83 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest_manager.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest_manager.h |
@@ -65,19 +65,12 @@ class CONTENT_EXPORT BrowserPluginGuestManager : |
// If params.src is present, the new guest will also be navigated to the |
// provided URL. Optionally, the new guest may be attached to a |
// |guest_opener|, and may be attached to a pre-selected |routing_id|. |
- BrowserPluginGuest* CreateGuest( |
+ virtual BrowserPluginGuest* CreateGuest( |
SiteInstance* embedder_site_instance, |
int instance_id, |
- const BrowserPluginHostMsg_Attach_Params& params, |
+ const StorageInfo& storage_info, |
scoped_ptr<base::DictionaryValue> extra_params); |
- // Adds a new |guest_web_contents| to the embedder (overridable in test). |
- virtual void AddGuest(int instance_id, WebContents* guest_web_contents); |
- |
- // Removes the guest with the given |instance_id| from this |
- // BrowserPluginGuestManager. |
- void RemoveGuest(int instance_id); |
- |
typedef base::Callback<void(BrowserPluginGuest*)> GuestByInstanceIDCallback; |
void MaybeGetGuestByInstanceIDOrKill( |
int instance_id, |
@@ -95,10 +88,6 @@ class CONTENT_EXPORT BrowserPluginGuestManager : |
explicit BrowserPluginGuestManager(BrowserContext* context); |
- // Returns an existing SiteInstance if the current profile has a guest of the |
- // given |guest_site|. |
- SiteInstance* GetGuestSiteInstance(const GURL& guest_site); |
- |
// Static factory instance (always NULL outside of tests). |
static BrowserPluginHostFactory* factory_; |