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

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

Issue 224163002: Move core features code to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move tests Created 6 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
Index: chrome/common/extensions/features/simple_feature_filter.cc
diff --git a/chrome/common/extensions/features/simple_feature_filter.cc b/chrome/common/extensions/features/simple_feature_filter.cc
deleted file mode 100644
index 79dcee3e7b07f51f504e63439b03c8f9d7410f28..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/features/simple_feature_filter.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/common/extensions/features/simple_feature_filter.h"
-
-#include "chrome/common/extensions/features/simple_feature.h"
-
-namespace extensions {
-
-SimpleFeatureFilter::SimpleFeatureFilter(SimpleFeature* feature)
- : feature_(feature) {}
-
-SimpleFeatureFilter::~SimpleFeatureFilter() {}
-
-std::string SimpleFeatureFilter::Parse(const base::DictionaryValue* value) {
- return std::string();
-}
-
-Feature::Availability SimpleFeatureFilter::IsAvailableToContext(
- const Extension* extension,
- Feature::Context context,
- const GURL& url,
- Feature::Platform platform) const {
- return Feature::CreateAvailability(Feature::IS_AVAILABLE, std::string());
-}
-
-Feature::Availability SimpleFeatureFilter::IsAvailableToManifest(
- const std::string& extension_id,
- Manifest::Type type,
- Feature::Location location,
- int manifest_version,
- Feature::Platform platform) const {
- return Feature::CreateAvailability(Feature::IS_AVAILABLE, std::string());
-}
-
-} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698