| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSION_API_H_ | 5 #ifndef EXTENSIONS_COMMON_EXTENSION_API_H_ |
| 6 #define EXTENSIONS_COMMON_EXTENSION_API_H_ | 6 #define EXTENSIONS_COMMON_EXTENSION_API_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
| 15 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "extensions/common/features/feature.h" | 17 #include "extensions/common/features/feature.h" |
| 18 #include "extensions/common/features/feature_provider.h" | 18 #include "extensions/common/features/feature_provider.h" |
| 19 #include "extensions/common/url_pattern_set.h" | 19 #include "extensions/common/url_pattern_set.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class DictionaryValue; | 22 class DictionaryValue; |
| 23 class Value; | |
| 24 } | 23 } |
| 25 | 24 |
| 26 class GURL; | 25 class GURL; |
| 27 | 26 |
| 28 namespace extensions { | 27 namespace extensions { |
| 29 | 28 |
| 30 class Extension; | 29 class Extension; |
| 31 class ExtensionsClient; | 30 class ExtensionsClient; |
| 32 class Feature; | 31 class Feature; |
| 33 | 32 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // FeatureProviders used for resolving dependencies. | 151 // FeatureProviders used for resolving dependencies. |
| 153 typedef std::map<std::string, const FeatureProvider*> FeatureProviderMap; | 152 typedef std::map<std::string, const FeatureProvider*> FeatureProviderMap; |
| 154 FeatureProviderMap dependency_providers_; | 153 FeatureProviderMap dependency_providers_; |
| 155 | 154 |
| 156 DISALLOW_COPY_AND_ASSIGN(ExtensionAPI); | 155 DISALLOW_COPY_AND_ASSIGN(ExtensionAPI); |
| 157 }; | 156 }; |
| 158 | 157 |
| 159 } // namespace extensions | 158 } // namespace extensions |
| 160 | 159 |
| 161 #endif // EXTENSIONS_COMMON_EXTENSION_API_H_ | 160 #endif // EXTENSIONS_COMMON_EXTENSION_API_H_ |
| OLD | NEW |