| 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 <string> | 10 #include <string> |
| 10 | 11 |
| 11 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
| 14 #include "base/memory/scoped_ptr.h" | |
| 15 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
| 16 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "extensions/common/features/feature.h" | 18 #include "extensions/common/features/feature.h" |
| 19 #include "extensions/common/features/feature_provider.h" | 19 #include "extensions/common/features/feature_provider.h" |
| 20 #include "extensions/common/url_pattern_set.h" | 20 #include "extensions/common/url_pattern_set.h" |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class DictionaryValue; | 23 class DictionaryValue; |
| 24 class Value; | 24 class Value; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // FeatureProviders used for resolving dependencies. | 152 // FeatureProviders used for resolving dependencies. |
| 153 typedef std::map<std::string, const FeatureProvider*> FeatureProviderMap; | 153 typedef std::map<std::string, const FeatureProvider*> FeatureProviderMap; |
| 154 FeatureProviderMap dependency_providers_; | 154 FeatureProviderMap dependency_providers_; |
| 155 | 155 |
| 156 DISALLOW_COPY_AND_ASSIGN(ExtensionAPI); | 156 DISALLOW_COPY_AND_ASSIGN(ExtensionAPI); |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 } // namespace extensions | 159 } // namespace extensions |
| 160 | 160 |
| 161 #endif // EXTENSIONS_COMMON_EXTENSION_API_H_ | 161 #endif // EXTENSIONS_COMMON_EXTENSION_API_H_ |
| OLD | NEW |