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

Unified Diff: extensions/common/extension_api.h

Issue 114803007: Register bindings for blessed web contexts (aka hosted app contexts) by hand (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jeffrey Created 6 years, 11 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 | « chrome/renderer/extensions/runtime_custom_bindings.cc ('k') | no next file » | 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 024f594bb3a7e536064711da45abdb2388b36c39..cbe540584dfcbaa34042a1a086c03b5cb0b3760c 100644
--- a/extensions/common/extension_api.h
+++ b/extensions/common/extension_api.h
@@ -65,8 +65,12 @@ class ExtensionAPI {
void RegisterDependencyProvider(const std::string& name,
FeatureProvider* provider);
- // Returns true if the specified API is available. Returns true if the feature
- // and all of its dependencies are available to the specified context.
+ // Returns true if the API feature |api| and all of its dependencies are
+ // available in |context|.
+ //
+ // Depending on the configuration of |api|, either |extension| or |url| (or
+ // both) may determine its availability, but this is up to the configuration
+ // of the individual feature.
Jeffrey Yasskin 2014/01/09 01:30:01 'k, not for this CL, but it's pretty hard to find
not at google - send to devlin 2014/01/09 18:06:49 might as well mention it.
Feature::Availability IsAvailable(const Feature& api,
const Extension* extension,
Feature::Context context,
« no previous file with comments | « chrome/renderer/extensions/runtime_custom_bindings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698