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

Unified Diff: content/shell/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: Created 6 years, 8 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/shell/browser/browser_plugin/test_guest_manager_delegate.h
diff --git a/content/shell/browser/browser_plugin/test_guest_manager_delegate.h b/content/shell/browser/browser_plugin/test_guest_manager_delegate.h
index 7e2e5eaecb0038f23c36ca5a00792be28a101694..6b6beaf20d3a857bf182bf3e3d0b20ebc0c19e6e 100644
--- a/content/shell/browser/browser_plugin/test_guest_manager_delegate.h
+++ b/content/shell/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