| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 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/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.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/strings/string16.h" | 19 #include "base/strings/string16.h" |
| 20 #include "chrome/browser/extensions/blacklist.h" | 20 #include "chrome/browser/extensions/blacklist.h" |
| 21 #include "chrome/browser/extensions/extension_management.h" | 21 #include "chrome/browser/extensions/extension_management.h" |
| 22 #include "chrome/browser/extensions/install_gate.h" | 22 #include "chrome/browser/extensions/install_gate.h" |
| 23 #include "chrome/browser/extensions/pending_extension_manager.h" | 23 #include "chrome/browser/extensions/pending_extension_manager.h" |
| 24 #include "components/sync/api/string_ordinal.h" |
| 24 #include "content/public/browser/notification_observer.h" | 25 #include "content/public/browser/notification_observer.h" |
| 25 #include "content/public/browser/notification_registrar.h" | 26 #include "content/public/browser/notification_registrar.h" |
| 26 #include "extensions/browser/crx_file_info.h" | 27 #include "extensions/browser/crx_file_info.h" |
| 27 #include "extensions/browser/extension_prefs.h" | 28 #include "extensions/browser/extension_prefs.h" |
| 28 #include "extensions/browser/external_provider_interface.h" | 29 #include "extensions/browser/external_provider_interface.h" |
| 29 #include "extensions/browser/install_flag.h" | 30 #include "extensions/browser/install_flag.h" |
| 30 #include "extensions/browser/process_manager.h" | 31 #include "extensions/browser/process_manager.h" |
| 31 #include "extensions/browser/uninstall_reason.h" | 32 #include "extensions/browser/uninstall_reason.h" |
| 32 #include "extensions/common/extension.h" | 33 #include "extensions/common/extension.h" |
| 33 #include "extensions/common/extension_set.h" | 34 #include "extensions/common/extension_set.h" |
| 34 #include "extensions/common/manifest.h" | 35 #include "extensions/common/manifest.h" |
| 35 #include "sync/api/string_ordinal.h" | |
| 36 | 36 |
| 37 #if !defined(ENABLE_EXTENSIONS) | 37 #if !defined(ENABLE_EXTENSIONS) |
| 38 #error "Extensions must be enabled" | 38 #error "Extensions must be enabled" |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 class GURL; | 41 class GURL; |
| 42 class HostContentSettingsMap; | 42 class HostContentSettingsMap; |
| 43 class Profile; | 43 class Profile; |
| 44 | 44 |
| 45 namespace base { | 45 namespace base { |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 GreylistUnknownDontChange); | 746 GreylistUnknownDontChange); |
| 747 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 747 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 748 ManagementPolicyProhibitsEnableOnInstalled); | 748 ManagementPolicyProhibitsEnableOnInstalled); |
| 749 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 749 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 750 BlockAndUnblockBlacklistedExtension); | 750 BlockAndUnblockBlacklistedExtension); |
| 751 | 751 |
| 752 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 752 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
| 753 }; | 753 }; |
| 754 | 754 |
| 755 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 755 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| OLD | NEW |