OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ |
6 #define CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ | 6 #define CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ |
7 | 7 |
8 #include "chrome/common/extensions/features/simple_feature.h" | 8 #include "chrome/common/extensions/features/simple_feature.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 class APIFeature : public SimpleFeature { | 12 class APIFeature : public SimpleFeature { |
13 public: | 13 public: |
14 APIFeature(); | 14 APIFeature(); |
15 virtual ~APIFeature(); | 15 virtual ~APIFeature(); |
16 | 16 |
17 virtual bool IsInternal() const OVERRIDE; | 17 virtual bool IsInternal() const OVERRIDE; |
18 virtual bool HasParent() const OVERRIDE; | |
not at google - send to devlin
2013/05/23 00:09:40
I don't see a reason why this needs to be restrict
cduvall
2013/05/24 03:13:49
Done.
| |
18 | 19 |
19 virtual std::string Parse(const DictionaryValue* value) OVERRIDE; | 20 virtual std::string Parse(const DictionaryValue* value) OVERRIDE; |
20 | 21 |
21 private: | 22 private: |
22 bool internal_; | 23 bool internal_; |
24 bool has_parent_; | |
23 }; | 25 }; |
24 | 26 |
25 } // extensions | 27 } // extensions |
26 | 28 |
27 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ | 29 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_API_FEATURE_H_ |
OLD | NEW |