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

Unified Diff: extensions/browser/guest_view/app_view/app_view_guest.h

Issue 1181893003: Kill bad apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: 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 4b05d1adb2be8ccbe6c1d5151f0ed24172106d9d..b1ca13cdef44eed95b770bb80151d15bf5f3ac34 100644
--- a/extensions/browser/guest_view/app_view/app_view_guest.h
+++ b/extensions/browser/guest_view/app_view/app_view_guest.h
@@ -25,14 +25,20 @@ 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);
lfg 2015/06/12 21:43:47 Update the comment above to reflect the new parame
EhsanK 2015/06/25 16:19:51 Done.
lfg 2015/06/26 21:46:05 Forgot to update this?
EhsanK 2015/06/30 16:53:10 Yes. :(. Done.
static GuestViewBase* Create(content::WebContents* owner_web_contents);
+ static void AddFakeRequestInfoForTesting(
+ const Extension* guest_extension,
+ AppViewGuest* app_view_guest,
+ GuestViewBase::WebContentsCreatedCallback& callback,
+ int guest_instance_id);
lfg 2015/06/12 21:43:47 Why did you make this a static and pass the app_vi
EhsanK 2015/06/25 16:19:51 None except that this function is nothing but an "
lfg 2015/06/26 21:46:05 I just thought it was strange to be a static and p
EhsanK 2015/06/30 16:53:10 I ended up going towards another direction. I have
+
// ExtensionFunctionDispatcher::Delegate implementation.
WindowController* GetExtensionWindowController() const override;
content::WebContents* GetAssociatedWebContents() const override;

Powered by Google App Engine
This is Rietveld 408576698