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_SIMPLE_FEATURE_H_ | 5 #ifndef EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ |
6 #define CHROME_COMMON_EXTENSIONS_FEATURES_SIMPLE_FEATURE_H_ | 6 #define EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chrome/common/extensions/features/simple_feature_filter.h" | |
17 #include "extensions/common/extension.h" | 16 #include "extensions/common/extension.h" |
18 #include "extensions/common/features/feature.h" | 17 #include "extensions/common/features/feature.h" |
| 18 #include "extensions/common/features/simple_feature_filter.h" |
19 #include "extensions/common/manifest.h" | 19 #include "extensions/common/manifest.h" |
20 | 20 |
21 namespace extensions { | 21 namespace extensions { |
22 | 22 |
23 class ComplexFeature; | 23 class ComplexFeature; |
24 | 24 |
25 class SimpleFeature : public Feature { | 25 class SimpleFeature : public Feature { |
26 public: | 26 public: |
27 SimpleFeature(); | 27 SimpleFeature(); |
28 virtual ~SimpleFeature(); | 28 virtual ~SimpleFeature(); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 typedef std::vector<linked_ptr<SimpleFeatureFilter> > FilterList; | 122 typedef std::vector<linked_ptr<SimpleFeatureFilter> > FilterList; |
123 FilterList filters_; | 123 FilterList filters_; |
124 | 124 |
125 FRIEND_TEST_ALL_PREFIXES(ExtensionSimpleFeatureTest, Context); | 125 FRIEND_TEST_ALL_PREFIXES(ExtensionSimpleFeatureTest, Context); |
126 DISALLOW_COPY_AND_ASSIGN(SimpleFeature); | 126 DISALLOW_COPY_AND_ASSIGN(SimpleFeature); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace extensions | 129 } // namespace extensions |
130 | 130 |
131 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_SIMPLE_FEATURE_H_ | 131 #endif // EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ |
OLD | NEW |