Index: extensions/common/extensions_client.h |
diff --git a/extensions/common/extensions_client.h b/extensions/common/extensions_client.h |
index 03876dc80ae3417b9b77a90f70666af3083643a6..11327e402b051061068795e2e53bdc830651edf1 100644 |
--- a/extensions/common/extensions_client.h |
+++ b/extensions/common/extensions_client.h |
@@ -131,6 +131,13 @@ class ExtensionsClient { |
virtual std::set<base::FilePath> GetBrowserImagePaths( |
const Extension* extension); |
+ // Returns whether or not extension APIs are allowed in extension service |
+ // workers. |
+ // This is currently disallowed as the code to support this is work in |
+ // progress. |
+ // Can be overridden in tests. |
+ virtual bool ExtensionAPIEnabledInExtensionServiceWorkers() const; |
+ |
// Return the extensions client. |
static ExtensionsClient* Get(); |