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

Unified Diff: extensions/common/extension_api.h

Issue 296133011: Move extension API schema registration to ExtensionsClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ifdefs =( Created 6 years, 7 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
« no previous file with comments | « extensions/DEPS ('k') | extensions/common/extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_api.h
diff --git a/extensions/common/extension_api.h b/extensions/common/extension_api.h
index bd2e3153d878ce88761d505791d7d5f3c16b36da..e16d4016ab457b4d61a6aea86b16723bf29d2e65 100644
--- a/extensions/common/extension_api.h
+++ b/extensions/common/extension_api.h
@@ -60,8 +60,11 @@ class ExtensionAPI {
ExtensionAPI();
virtual ~ExtensionAPI();
+ // Add a (non-generated) API schema resource.
void RegisterSchemaResource(const std::string& api_name, int resource_id);
+ // Add a FeatureProvider for APIs. The features are used to specify
+ // dependencies and constraints on the availability of APIs.
void RegisterDependencyProvider(const std::string& name,
const FeatureProvider* provider);
« no previous file with comments | « extensions/DEPS ('k') | extensions/common/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698