Index: chrome/browser/extensions/api/chrome_extensions_api_client.cc |
diff --git a/chrome/browser/extensions/api/chrome_extensions_api_client.cc b/chrome/browser/extensions/api/chrome_extensions_api_client.cc |
index 5c1e541485a02da95fa07fc5c7d618230341d268..cbd0cf4018652f7f92f731c8d82a16ccf303d3e1 100644 |
--- a/chrome/browser/extensions/api/chrome_extensions_api_client.cc |
+++ b/chrome/browser/extensions/api/chrome_extensions_api_client.cc |
@@ -6,6 +6,7 @@ |
#include "base/files/file_path.h" |
#include "chrome/browser/extensions/api/storage/sync_value_store_cache.h" |
+#include "chrome/browser/guest_view/app_view/app_view_guest.h" |
#include "content/public/browser/browser_context.h" |
#if defined(ENABLE_CONFIGURATION_POLICY) |
@@ -34,4 +35,25 @@ void ChromeExtensionsAPIClient::AddAdditionalValueStoreCaches( |
#endif |
} |
+bool ChromeExtensionsAPIClient::AppViewInternalAttachFrame( |
+ content::BrowserContext* browser_context, |
+ const GURL& url, |
+ int guest_instance_id, |
+ const std::string& guest_extension_id) { |
+ return AppViewGuest::CompletePendingRequest(browser_context, |
+ url, |
+ guest_instance_id, |
+ guest_extension_id); |
+} |
+ |
+bool ChromeExtensionsAPIClient::AppViewInternalDenyRequest( |
+ content::BrowserContext* browser_context, |
+ int guest_instance_id, |
+ const std::string& guest_extension_id) { |
+ return AppViewGuest::CompletePendingRequest(browser_context, |
+ GURL(), |
+ guest_instance_id, |
+ guest_extension_id); |
+} |
+ |
} // namespace extensions |