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

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: Remove delegate. 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..4ee10bf883b5e0b0382b32bebfc551cba1b61a4b 100644
--- a/extensions/browser/api/extensions_api_client.h
+++ b/extensions/browser/api/extensions_api_client.h
@@ -92,6 +92,14 @@ class ExtensionsAPIClient {
virtual void RegisterGuestViewTypes() {}
+ // Returns whether requests to this URL must not be modified/canceled by
+ // extensions, e.g. because it is targeted to the webstore to check for
+ // updates, extension blacklisting, etc.
+ virtual bool MustNotBeModifiedURL(const GURL& url);
+
+ // Returns kWebStoreAppId.
+ virtual const std::string WebStoreAppId();
+
// NOTE: If this interface gains too many methods (perhaps more than 20) it
// should be split into one interface per API.
};

Powered by Google App Engine
This is Rietveld 408576698