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

Unified Diff: extensions/browser/api/extensions_api_client.h

Issue 515563003: Remove dependency of chrome in WebRequestPermissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: 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 4a60df57da21d79a77d40aab1570674b6177214c..2a63148cd3e2ad008fddd1b96626ee93101117c4 100644
--- a/extensions/browser/api/extensions_api_client.h
+++ b/extensions/browser/api/extensions_api_client.h
@@ -26,6 +26,7 @@ class HidService;
namespace extensions {
class AppViewGuestDelegate;
+class WebRequestPermissionsDelegate;
class WebViewGuest;
class WebViewGuestDelegate;
class WebViewPermissionHelper;
@@ -79,6 +80,10 @@ class ExtensionsAPIClient {
// Returns the HidService instance for this embedder.
virtual device::HidService* GetHidService();
+ // Returns a delegate for WebRequestPermissions.
+ virtual WebRequestPermissionsDelegate* CreateWebRequestPermissionsDelegate()
+ const;
+
// Returns a delegate for some of WebViewGuest's behavior. The caller owns the
// returned WebViewGuestDelegate.
virtual WebViewGuestDelegate* CreateWebViewGuestDelegate (

Powered by Google App Engine
This is Rietveld 408576698