Index: extensions/browser/api/extensions_api_client.h |
diff --git a/extensions/browser/api/extensions_api_client.h b/extensions/browser/api/extensions_api_client.h |
index 88dbaa4636030e132319ff45ee7c0f1499b6f148..b87e2d37742559892e2033cefad9240a2fd653b8 100644 |
--- a/extensions/browser/api/extensions_api_client.h |
+++ b/extensions/browser/api/extensions_api_client.h |
@@ -10,6 +10,8 @@ |
#include "base/memory/ref_counted.h" |
#include "extensions/browser/api/storage/settings_namespace.h" |
+class GURL; |
+ |
template <class T> |
class ObserverListThreadSafe; |
@@ -47,6 +49,21 @@ class ExtensionsAPIClient { |
const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, |
std::map<settings_namespace::Namespace, ValueStoreCache*>* caches); |
+ // Attaches a frame |url| inside the <appview> specified by |
+ // |guest_instance_id|. Returns true if the operation completes succcessfully. |
+ virtual bool AppViewInternalAttachFrame( |
+ content::BrowserContext* browser_context, |
+ const GURL& url, |
+ int guest_instance_id, |
+ const std::string& guest_extension_id); |
+ |
+ // Denies the embedding requested by the <appview> specified by |
+ // |guest_instance_id|. Returns true if the operation completes successfully. |
+ virtual bool AppViewInternalDenyRequest( |
+ content::BrowserContext* browser_context, |
+ int guest_instance_id, |
+ const std::string& guest_extension_id); |
+ |
// NOTE: If this interface gains too many methods (perhaps more than 20) it |
// should be split into one interface per API. |
}; |