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

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: Used the API in "extensions/bad_message.h" to Kill and Report Bad Guests. 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 81cf44de0d745606a717b4e6b02be583bc753e99..4cd57ac12547559b1eb9a697a6fa7d227ed5d8da 100644
--- a/extensions/browser/guest_view/app_view/app_view_guest.h
+++ b/extensions/browser/guest_view/app_view/app_view_guest.h
@@ -22,15 +22,18 @@ class AppViewGuest : public guest_view::GuestView<AppViewGuest> {
static const char Type[];
// 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);
+ // |guest_extensions_id|. |guest_render_process_host_id| is the ID of the
+ // "RenderProcessHost" corresponding to the process sending this message.
+ 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 std::vector<int> GetAllRegisteredInstanceIdsForTesting();
+
// content::WebContentsDelegate implementation.
bool HandleContextMenu(const content::ContextMenuParams& params) override;
void RequestMediaAccessPermission(

Powered by Google App Engine
This is Rietveld 408576698