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

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

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android compilation 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/test.json ('k') | chrome/common/extensions/features/feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/features/feature.h
diff --git a/chrome/common/extensions/features/feature.h b/chrome/common/extensions/features/feature.h
index e3964b1e28fe6c73b1f8a3040f56f2e851c61c60..6eaa3a3b4f2106e6e74934a01a6c203b66946d06 100644
--- a/chrome/common/extensions/features/feature.h
+++ b/chrome/common/extensions/features/feature.h
@@ -75,6 +75,7 @@ class Feature {
private:
friend class SimpleFeature;
+ friend class Feature;
// Instances should be created via Feature::CreateAvailability.
Availability(AvailabilityResult result, const std::string& message)
@@ -86,6 +87,10 @@ class Feature {
virtual ~Feature();
+ // Used by ChromeV8Context until the feature system is fully functional.
+ static Availability CreateAvailability(AvailabilityResult result,
+ const std::string& message);
+
// Gets the current channel as seen by the Feature system.
static chrome::VersionInfo::Channel GetCurrentChannel();
« no previous file with comments | « chrome/common/extensions/api/test.json ('k') | chrome/common/extensions/features/feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698