Index: chrome/browser/guest_view/guest_view_base.h |
diff --git a/chrome/browser/guest_view/guest_view_base.h b/chrome/browser/guest_view/guest_view_base.h |
index 2e6c8a6373c24eb58ff530626925986b8d070bd1..ff7ac3096612140b50fd4a37352df6964e863f2f 100644 |
--- a/chrome/browser/guest_view/guest_view_base.h |
+++ b/chrome/browser/guest_view/guest_view_base.h |
@@ -116,6 +116,12 @@ class GuestViewBase : public content::BrowserPluginGuestDelegate, |
// to destruction. |
virtual void WillDestroy() {} |
+ // This method is to be implemented by the derived class. It determines |
+ // whether the guest view type of the derived class can be used by the |
+ // provided embedder extension ID. |
+ virtual bool CanEmbedderUseGuestView( |
+ const std::string& embedder_extension_id) = 0; |
+ |
// This method is to be implemented by the derived class. Given a set of |
// initialization parameters, a concrete subclass of GuestViewBase can |
// create a specialized WebContents that it returns back to GuestViewBase. |