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

Unified Diff: extensions/common/features/api_feature.cc

Issue 377753003: Remove GetContexts() from the public interface of extensions::Feature. It was (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/common/extension_api_stub.cc ('k') | extensions/common/features/complex_feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/api_feature.cc
diff --git a/extensions/common/features/api_feature.cc b/extensions/common/features/api_feature.cc
index 4a4ac1cbbda3a12ef1ded2a430d6d9519bae5b61..fc7f707be4f50046043ea8ec90044a074ba6e1df 100644
--- a/extensions/common/features/api_feature.cc
+++ b/extensions/common/features/api_feature.cc
@@ -28,7 +28,7 @@ std::string APIFeature::Parse(const base::DictionaryValue* value) {
value->GetBoolean("internal", &internal_);
value->GetBoolean("blocked_in_service_worker", &blocked_in_service_worker_);
- if (GetContexts()->empty())
+ if (contexts()->empty())
return name() + ": API features must specify at least one context.";
return std::string();
« no previous file with comments | « extensions/common/extension_api_stub.cc ('k') | extensions/common/features/complex_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698