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

Unified Diff: content/browser/browser_plugin/test_guest_manager_delegate.h

Issue 264943006: BrowserPlugin: Simplify content/public API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_v1
Patch Set: Fixed nit Created 6 years, 7 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: content/browser/browser_plugin/test_guest_manager_delegate.h
diff --git a/content/browser/browser_plugin/test_guest_manager_delegate.h b/content/browser/browser_plugin/test_guest_manager_delegate.h
index ebd1656957e37222996a129057cb91c062134965..63f281133a2f22e63d3689b9a79cc37c48ab4c20 100644
--- a/content/browser/browser_plugin/test_guest_manager_delegate.h
+++ b/content/browser/browser_plugin/test_guest_manager_delegate.h
@@ -25,14 +25,10 @@ class TestGuestManagerDelegate : public BrowserPluginGuestManagerDelegate {
virtual void AddGuest(int guest_instance_id,
WebContents* guest_web_contents) OVERRIDE;
virtual void RemoveGuest(int guest_instance_id) OVERRIDE;
- virtual WebContents* GetGuestByInstanceID(
+ virtual void MaybeGetGuestByInstanceIDOrKill(
int guest_instance_id,
- int embedder_render_process_id) OVERRIDE;
- virtual bool CanEmbedderAccessInstanceIDMaybeKill(
int embedder_render_process_id,
- int guest_instance_id) OVERRIDE;
- virtual bool CanEmbedderAccessInstanceID(int embedder_render_process_id,
- int guest_instance_id) OVERRIDE;
+ const GuestByInstanceIDCallback& callback) OVERRIDE;
virtual SiteInstance* GetGuestSiteInstance(
const GURL& guest_site) OVERRIDE;
virtual bool ForEachGuest(WebContents* embedder_web_contents,

Powered by Google App Engine
This is Rietveld 408576698