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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 10689097: Enforce the 'requirements' field in manifests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index c2b00899bc23aaffef231cdb48ba417fcc997b47..ab397b8ee85d247ae6d35d8cafd61b7e5631a83f 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -84,6 +84,7 @@ class Extension;
class ExtensionCookiesEventRouter;
class ExtensionSyncData;
class ExtensionUpdater;
+class RequirementsProvider;
class SettingsFrontend;
class WebNavigationEventRouter;
}
@@ -851,6 +852,9 @@ class ExtensionService
scoped_ptr<ExtensionGlobalError> extension_global_error_;
+ // The provider that checks if the extension is supported.
+ scoped_ptr<extensions::RequirementsProvider> requirements_provider_;
+
FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
InstallAppsWithUnlimtedStorage);
FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | chrome/browser/extensions/extension_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698