Pepper: Fix PPB_TrueTypeFont GetFontsInFamily function.
[chromium-blink-merge.git] / extensions / common / features / api_feature.h
blob7a30cb432d0f07602358b11952c89e01c8f9c243
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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
8 #include <string>
10 #include "extensions/common/features/simple_feature.h"
12 namespace extensions {
14 class APIFeature : public SimpleFeature {
15 public:
16 APIFeature();
17 ~APIFeature() override;
19 // extensions::Feature:
20 bool IsInternal() const override;
22 std::string Parse(const base::DictionaryValue* value) override;
24 private:
25 bool internal_;
28 } // namespace extensions
30 #endif // EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_