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

Unified Diff: trunk/src/chrome/common/extensions/features/api_feature.cc

Issue 12770020: Revert 190836 "Implement API features for the Extension API feat..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
Index: trunk/src/chrome/common/extensions/features/api_feature.cc
===================================================================
--- trunk/src/chrome/common/extensions/features/api_feature.cc (revision 190861)
+++ trunk/src/chrome/common/extensions/features/api_feature.cc (working copy)
@@ -1,26 +0,0 @@
-// Copyright (c) 2012 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/api_feature.h"
-
-namespace extensions {
-
-APIFeature::APIFeature() {
-}
-
-APIFeature::~APIFeature() {
-}
-
-std::string APIFeature::Parse(const DictionaryValue* value) {
- std::string error = SimpleFeature::Parse(value);
- if (!error.empty())
- return error;
-
- if (GetContexts()->empty())
- return name() + ": API features must specify at least one context.";
-
- return "";
-}
-
-} // namespace

Powered by Google App Engine
This is Rietveld 408576698