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

Unified Diff: chrome/common/extensions/features/complex_feature.h

Issue 12522004: Lazily load extension API schemas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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/common/extensions/api/windows.json ('k') | chrome/common/extensions/features/complex_feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/features/complex_feature.h
diff --git a/chrome/common/extensions/features/complex_feature.h b/chrome/common/extensions/features/complex_feature.h
index c776ccf19d6feed26bdfd31b1abf182401313b90..3013348d40a0d989c9d042ce8c36981a94b6fd77 100644
--- a/chrome/common/extensions/features/complex_feature.h
+++ b/chrome/common/extensions/features/complex_feature.h
@@ -35,13 +35,15 @@ class ComplexFeature : public Feature {
virtual Availability IsAvailableToContext(const Extension* extension,
Context context,
+ const GURL& url,
Platform platform) const OVERRIDE;
protected:
// extensions::Feature:
virtual std::string GetAvailabilityMessage(
AvailabilityResult result,
- Manifest::Type type) const OVERRIDE;
+ Manifest::Type type,
+ const GURL& url) const OVERRIDE;
virtual std::set<Context>* GetContexts() OVERRIDE;
« no previous file with comments | « chrome/common/extensions/api/windows.json ('k') | chrome/common/extensions/features/complex_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698