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

Side by Side Diff: extensions/common/features/api_feature.h

Issue 2202733003: [Extensions] Remove JSONFeatureProvider, SimpleFeature::Parse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_ 6 #define EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "extensions/common/features/simple_feature.h" 10 #include "extensions/common/features/simple_feature.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 class APIFeature : public SimpleFeature { 14 class APIFeature : public SimpleFeature {
lazyboy 2016/08/03 18:52:20 APIFeature has become SimpleFeature now, should we
Devlin 2016/08/03 19:26:25 Interesting idea! The feature compiler also curre
15 public: 15 public:
16 APIFeature(); 16 APIFeature();
17 ~APIFeature() override; 17 ~APIFeature() override;
18
19 // extensions::Feature:
20 bool Validate(std::string* error) override;
21 }; 18 };
22 19
23 } // namespace extensions 20 } // namespace extensions
24 21
25 #endif // EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_ 22 #endif // EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698