summaryrefslogtreecommitdiffstats
path: root/extensions/common/features/api_feature.h
blob: 7a30cb432d0f07602358b11952c89e01c8f9c243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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.

#ifndef EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_
#define EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_

#include <string>

#include "extensions/common/features/simple_feature.h"

namespace extensions {

class APIFeature : public SimpleFeature {
 public:
  APIFeature();
  ~APIFeature() override;

  // extensions::Feature:
  bool IsInternal() const override;

  std::string Parse(const base::DictionaryValue* value) override;

 private:
  bool internal_;
};

}  // namespace extensions

#endif  // EXTENSIONS_COMMON_FEATURES_API_FEATURE_H_