| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "chrome/browser/extensions/extension_prefs.h" | 26 #include "chrome/browser/extensions/extension_prefs.h" |
| 27 #include "chrome/browser/extensions/extension_process_manager.h" | 27 #include "chrome/browser/extensions/extension_process_manager.h" |
| 28 #include "chrome/browser/extensions/extension_toolbar_model.h" | 28 #include "chrome/browser/extensions/extension_toolbar_model.h" |
| 29 #include "chrome/browser/extensions/extensions_quota_service.h" | 29 #include "chrome/browser/extensions/extensions_quota_service.h" |
| 30 #include "chrome/browser/extensions/external_extension_provider.h" | 30 #include "chrome/browser/extensions/external_extension_provider.h" |
| 31 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h" | 31 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h" |
| 32 #include "chrome/common/notification_observer.h" | 32 #include "chrome/common/notification_observer.h" |
| 33 #include "chrome/common/notification_registrar.h" | 33 #include "chrome/common/notification_registrar.h" |
| 34 #include "chrome/common/extensions/extension.h" | 34 #include "chrome/common/extensions/extension.h" |
| 35 | 35 |
| 36 class Browser; | |
| 37 class ExtensionsServiceBackend; | 36 class ExtensionsServiceBackend; |
| 38 class ExtensionToolbarModel; | 37 class ExtensionToolbarModel; |
| 39 class ExtensionUpdater; | 38 class ExtensionUpdater; |
| 40 class GURL; | 39 class GURL; |
| 41 class PrefService; | 40 class PrefService; |
| 42 class Profile; | 41 class Profile; |
| 43 class ResourceDispatcherHost; | |
| 44 class SiteInstance; | |
| 45 class Version; | 42 class Version; |
| 46 | 43 |
| 47 // A pending extension is an extension that hasn't been installed yet | 44 // A pending extension is an extension that hasn't been installed yet |
| 48 // and is intended to be installed in the next auto-update cycle. The | 45 // and is intended to be installed in the next auto-update cycle. The |
| 49 // update URL of a pending extension may be blank, in which case a | 46 // update URL of a pending extension may be blank, in which case a |
| 50 // default one is assumed. | 47 // default one is assumed. |
| 51 struct PendingExtensionInfo { | 48 struct PendingExtensionInfo { |
| 52 PendingExtensionInfo(const GURL& update_url, | 49 PendingExtensionInfo(const GURL& update_url, |
| 53 bool is_theme, | 50 bool is_theme, |
| 54 bool install_silently, | 51 bool install_silently, |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 | 550 |
| 554 // A map of all external extension providers. | 551 // A map of all external extension providers. |
| 555 typedef std::map<Extension::Location, | 552 typedef std::map<Extension::Location, |
| 556 linked_ptr<ExternalExtensionProvider> > ProviderMap; | 553 linked_ptr<ExternalExtensionProvider> > ProviderMap; |
| 557 ProviderMap external_extension_providers_; | 554 ProviderMap external_extension_providers_; |
| 558 | 555 |
| 559 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend); | 556 DISALLOW_COPY_AND_ASSIGN(ExtensionsServiceBackend); |
| 560 }; | 557 }; |
| 561 | 558 |
| 562 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ | 559 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_SERVICE_H_ |
| OLD | NEW |