OLD | NEW |
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_SIMPLE_FEATURE_H_ | 5 #ifndef EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ |
6 #define EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ | 6 #define EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
13 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
14 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
| 17 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
16 #include "base/values.h" | 19 #include "base/values.h" |
17 #include "extensions/common/extension.h" | 20 #include "extensions/common/extension.h" |
18 #include "extensions/common/features/feature.h" | 21 #include "extensions/common/features/feature.h" |
19 #include "extensions/common/features/simple_feature_filter.h" | 22 #include "extensions/common/features/simple_feature_filter.h" |
20 #include "extensions/common/manifest.h" | 23 #include "extensions/common/manifest.h" |
21 | 24 |
22 namespace extensions { | 25 namespace extensions { |
23 | 26 |
24 class BaseFeatureProviderTest; | 27 class BaseFeatureProviderTest; |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 std::string command_line_switch_; | 206 std::string command_line_switch_; |
204 | 207 |
205 std::vector<scoped_ptr<SimpleFeatureFilter>> filters_; | 208 std::vector<scoped_ptr<SimpleFeatureFilter>> filters_; |
206 | 209 |
207 DISALLOW_COPY_AND_ASSIGN(SimpleFeature); | 210 DISALLOW_COPY_AND_ASSIGN(SimpleFeature); |
208 }; | 211 }; |
209 | 212 |
210 } // namespace extensions | 213 } // namespace extensions |
211 | 214 |
212 #endif // EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ | 215 #endif // EXTENSIONS_COMMON_FEATURES_SIMPLE_FEATURE_H_ |
OLD | NEW |