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_API_EXTENSION_API_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_EXTENSION_API_H_ |
6 #define CHROME_COMMON_EXTENSIONS_API_EXTENSION_API_H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_EXTENSION_API_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.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/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
16 #include "base/string_piece.h" | 16 #include "base/string_piece.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "chrome/common/extensions/features/feature.h" | 18 #include "chrome/common/extensions/features/feature.h" |
19 #include "chrome/common/extensions/features/feature_provider.h" | 19 #include "chrome/common/extensions/features/feature_provider.h" |
20 #include "chrome/common/extensions/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 ListValue; | 24 class ListValue; |
25 class Value; | 25 class Value; |
26 } | 26 } |
27 | 27 |
28 class GURL; | 28 class GURL; |
29 | 29 |
30 namespace extensions { | 30 namespace extensions { |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 // FeatureProviders used for resolving dependencies. | 180 // FeatureProviders used for resolving dependencies. |
181 typedef std::map<std::string, FeatureProvider*> FeatureProviderMap; | 181 typedef std::map<std::string, FeatureProvider*> FeatureProviderMap; |
182 FeatureProviderMap dependency_providers_; | 182 FeatureProviderMap dependency_providers_; |
183 | 183 |
184 DISALLOW_COPY_AND_ASSIGN(ExtensionAPI); | 184 DISALLOW_COPY_AND_ASSIGN(ExtensionAPI); |
185 }; | 185 }; |
186 | 186 |
187 } // extensions | 187 } // extensions |
188 | 188 |
189 #endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_API_H_ | 189 #endif // CHROME_COMMON_EXTENSIONS_API_EXTENSION_API_H_ |
OLD | NEW |