OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 15 matching lines...) Expand all Loading... |
26 class DictionaryValue; | 26 class DictionaryValue; |
27 class Extension; | 27 class Extension; |
28 class ExtensionsServiceBackend; | 28 class ExtensionsServiceBackend; |
29 class GURL; | 29 class GURL; |
30 class MessageLoop; | 30 class MessageLoop; |
31 class PrefService; | 31 class PrefService; |
32 class Profile; | 32 class Profile; |
33 class ResourceDispatcherHost; | 33 class ResourceDispatcherHost; |
34 class SkBitmap; | 34 class SkBitmap; |
35 class SiteInstance; | 35 class SiteInstance; |
36 class UserScriptMaster; | |
37 | 36 |
38 typedef std::vector<Extension*> ExtensionList; | 37 typedef std::vector<Extension*> ExtensionList; |
39 | 38 |
40 // A callback for when installs finish. If the Extension* parameter is | 39 // A callback for when installs finish. If the Extension* parameter is |
41 // null then the install failed. | 40 // null then the install failed. |
42 typedef Callback2<const FilePath&, Extension*>::Type ExtensionInstallCallback; | 41 typedef Callback2<const FilePath&, Extension*>::Type ExtensionInstallCallback; |
43 | 42 |
44 // This is an interface class to encapsulate the dependencies that | 43 // This is an interface class to encapsulate the dependencies that |
45 // ExtensionUpdater has on ExtensionsService. This allows easy mocking. | 44 // ExtensionUpdater has on ExtensionsService. This allows easy mocking. |
46 class ExtensionUpdateService { | 45 class ExtensionUpdateService { |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 | 465 |
467 // A map of all external extension providers. | 466 // A map of all external extension providers. |
468 typedef std::map<Extension::Location, | 467 typedef std::map<Extension::Location, |
469 linked_ptr<ExternalExtensionProvider> > ProviderMap; | 468 linked_ptr<ExternalExtensionProvider> > ProviderMap; |
470 ProviderMap external_extension_providers_; | 469 ProviderMap external_extension_providers_; |
471 | 470 |
472 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend); | 471 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend); |
473 }; | 472 }; |
474 | 473 |
475 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ | 474 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ |
OLD | NEW |