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

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

Issue 414633002: Remove service worker concepts from _api_features.json (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/features/api_feature.h ('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 fc7f707be4f50046043ea8ec90044a074ba6e1df..e3e4c91b6db3796a5d548d38b6ef5bd9576fca3e 100644
--- a/extensions/common/features/api_feature.cc
+++ b/extensions/common/features/api_feature.cc
@@ -7,7 +7,7 @@
namespace extensions {
APIFeature::APIFeature()
- : internal_(false), blocked_in_service_worker_(false) {}
+ : internal_(false) {}
APIFeature::~APIFeature() {
}
@@ -16,17 +16,12 @@ bool APIFeature::IsInternal() const {
return internal_;
}
-bool APIFeature::IsBlockedInServiceWorker() const {
- return blocked_in_service_worker_;
-}
-
std::string APIFeature::Parse(const base::DictionaryValue* value) {
std::string error = SimpleFeature::Parse(value);
if (!error.empty())
return error;
value->GetBoolean("internal", &internal_);
- value->GetBoolean("blocked_in_service_worker", &blocked_in_service_worker_);
if (contexts()->empty())
return name() + ": API features must specify at least one context.";
« no previous file with comments | « extensions/common/features/api_feature.h ('k') | extensions/common/features/complex_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698