Index: extensions/browser/guest_view/app_view/app_view_guest.h |
diff --git a/extensions/browser/guest_view/app_view/app_view_guest.h b/extensions/browser/guest_view/app_view/app_view_guest.h |
index 81cf44de0d745606a717b4e6b02be583bc753e99..28ffb143b7ec718fe6cceadabedf023ce6ed6192 100644 |
--- a/extensions/browser/guest_view/app_view/app_view_guest.h |
+++ b/extensions/browser/guest_view/app_view/app_view_guest.h |
@@ -23,14 +23,21 @@ class AppViewGuest : public guest_view::GuestView<AppViewGuest> { |
// Completes the creation of a WebContents associated with the provided |
// |guest_extensions_id|. |
- static bool CompletePendingRequest( |
- content::BrowserContext* browser_context, |
- const GURL& url, |
- int guest_instance_id, |
- const std::string& guest_extension_id); |
+ static bool CompletePendingRequest(content::BrowserContext* browser_context, |
+ const GURL& url, |
+ int guest_instance_id, |
+ const std::string& guest_extension_id, |
+ int guest_render_process_host_id); |
static GuestViewBase* Create(content::WebContents* owner_web_contents); |
+ static base::WeakPtr<AppViewGuest> GetAppViewGuestFromExtensionIdForTesting( |
+ const std::string& extension_id); |
+ static void SetAppViewGuestForExtensionIdForTesting( |
+ const std::string& extension_id, |
+ base::WeakPtr<AppViewGuest> weak_ptr); |
+ static std::vector<int> GetAllRegisteredInstanceIdsForTesting(); |
+ |
// content::WebContentsDelegate implementation. |
bool HandleContextMenu(const content::ContextMenuParams& params) override; |
void RequestMediaAccessPermission( |