| 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_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/memory/linked_ptr.h" | 16 #include "base/memory/linked_ptr.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/property_bag.h" | 19 #include "base/property_bag.h" |
| 20 #include "base/string16.h" | 20 #include "base/string16.h" |
| 21 #include "base/time.h" | 21 #include "base/time.h" |
| 22 #include "base/tuple.h" | 22 #include "base/tuple.h" |
| 23 #include "chrome/browser/api/prefs/pref_change_registrar.h" |
| 23 #include "chrome/browser/extensions/app_shortcut_manager.h" | 24 #include "chrome/browser/extensions/app_shortcut_manager.h" |
| 24 #include "chrome/browser/extensions/app_sync_bundle.h" | 25 #include "chrome/browser/extensions/app_sync_bundle.h" |
| 25 #include "chrome/browser/extensions/extension_icon_manager.h" | 26 #include "chrome/browser/extensions/extension_icon_manager.h" |
| 26 #include "chrome/browser/extensions/extension_prefs.h" | 27 #include "chrome/browser/extensions/extension_prefs.h" |
| 27 #include "chrome/browser/extensions/extension_process_manager.h" | 28 #include "chrome/browser/extensions/extension_process_manager.h" |
| 28 #include "chrome/browser/extensions/extension_sync_bundle.h" | 29 #include "chrome/browser/extensions/extension_sync_bundle.h" |
| 29 #include "chrome/browser/extensions/extension_toolbar_model.h" | 30 #include "chrome/browser/extensions/extension_toolbar_model.h" |
| 30 #include "chrome/browser/extensions/extension_warning_set.h" | 31 #include "chrome/browser/extensions/extension_warning_set.h" |
| 31 #include "chrome/browser/extensions/extensions_quota_service.h" | 32 #include "chrome/browser/extensions/extensions_quota_service.h" |
| 32 #include "chrome/browser/extensions/external_provider_interface.h" | 33 #include "chrome/browser/extensions/external_provider_interface.h" |
| 33 #include "chrome/browser/extensions/menu_manager.h" | 34 #include "chrome/browser/extensions/menu_manager.h" |
| 34 #include "chrome/browser/extensions/pending_extension_manager.h" | 35 #include "chrome/browser/extensions/pending_extension_manager.h" |
| 35 #include "chrome/browser/extensions/process_map.h" | 36 #include "chrome/browser/extensions/process_map.h" |
| 36 #include "chrome/browser/prefs/pref_change_registrar.h" | |
| 37 #include "chrome/common/extensions/extension.h" | 37 #include "chrome/common/extensions/extension.h" |
| 38 #include "chrome/common/extensions/extension_constants.h" | 38 #include "chrome/common/extensions/extension_constants.h" |
| 39 #include "chrome/common/extensions/extension_set.h" | 39 #include "chrome/common/extensions/extension_set.h" |
| 40 #include "content/public/browser/browser_thread.h" | 40 #include "content/public/browser/browser_thread.h" |
| 41 #include "content/public/browser/notification_observer.h" | 41 #include "content/public/browser/notification_observer.h" |
| 42 #include "content/public/browser/notification_registrar.h" | 42 #include "content/public/browser/notification_registrar.h" |
| 43 #include "sync/api/sync_change.h" | 43 #include "sync/api/sync_change.h" |
| 44 #include "sync/api/syncable_service.h" | 44 #include "sync/api/syncable_service.h" |
| 45 | 45 |
| 46 class BookmarkExtensionEventRouter; | 46 class BookmarkExtensionEventRouter; |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 #endif | 868 #endif |
| 869 | 869 |
| 870 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 870 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 871 InstallAppsWithUnlimtedStorage); | 871 InstallAppsWithUnlimtedStorage); |
| 872 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 872 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 873 InstallAppsAndCheckStorageProtection); | 873 InstallAppsAndCheckStorageProtection); |
| 874 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 874 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
| 875 }; | 875 }; |
| 876 | 876 |
| 877 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 877 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| OLD | NEW |