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

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

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/features/feature.h ('k') | chrome/renderer/extensions/api_definitions_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/features/feature.cc
diff --git a/chrome/common/extensions/features/feature.cc b/chrome/common/extensions/features/feature.cc
index c245468ec8daad711d15f7aca9a5124954803d4a..f5eb37cfed435d2974d57f84cc1b8a3b140208e5 100644
--- a/chrome/common/extensions/features/feature.cc
+++ b/chrome/common/extensions/features/feature.cc
@@ -55,6 +55,12 @@ chrome::VersionInfo::Channel Feature::GetDefaultChannel() {
return kDefaultChannel;
}
+// static
+Feature::Availability Feature::CreateAvailability(AvailabilityResult result,
+ const std::string& message) {
+ return Availability(result, message);
+}
+
Feature::~Feature() {}
} // namespace extensions
« no previous file with comments | « chrome/common/extensions/features/feature.h ('k') | chrome/renderer/extensions/api_definitions_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698