| 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> |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 // Exposed for testing. | 235 // Exposed for testing. |
| 236 bool OnExternalExtensionFileFound( | 236 bool OnExternalExtensionFileFound( |
| 237 const extensions::ExternalInstallInfoFile& info) override; | 237 const extensions::ExternalInstallInfoFile& info) override; |
| 238 bool OnExternalExtensionUpdateUrlFound( | 238 bool OnExternalExtensionUpdateUrlFound( |
| 239 const extensions::ExternalInstallInfoUpdateUrl& info, | 239 const extensions::ExternalInstallInfoUpdateUrl& info, |
| 240 bool is_initial_load) override; | 240 bool is_initial_load) override; |
| 241 void OnExternalProviderReady( | 241 void OnExternalProviderReady( |
| 242 const extensions::ExternalProviderInterface* provider) override; | 242 const extensions::ExternalProviderInterface* provider) override; |
| 243 void OnExternalProviderUpdateComplete( | 243 void OnExternalProviderUpdateComplete( |
| 244 const extensions::ExternalProviderInterface* provider, | 244 const extensions::ExternalProviderInterface* provider, |
| 245 const ScopedVector<extensions::ExternalInstallInfoUpdateUrl>& | 245 const std::vector< |
| 246 std::unique_ptr<extensions::ExternalInstallInfoUpdateUrl>>& |
| 246 external_update_url_extensions, | 247 external_update_url_extensions, |
| 247 const ScopedVector<extensions::ExternalInstallInfoFile>& | 248 const std::vector<std::unique_ptr<extensions::ExternalInstallInfoFile>>& |
| 248 external_file_extensions, | 249 external_file_extensions, |
| 249 const std::set<std::string>& removed_extensions) override; | 250 const std::set<std::string>& removed_extensions) override; |
| 250 | 251 |
| 251 // ExtensionManagement::Observer implementation: | 252 // ExtensionManagement::Observer implementation: |
| 252 void OnExtensionManagementSettingsChanged() override; | 253 void OnExtensionManagementSettingsChanged() override; |
| 253 | 254 |
| 254 // Initialize and start all installed extensions. | 255 // Initialize and start all installed extensions. |
| 255 void Init(); | 256 void Init(); |
| 256 | 257 |
| 257 // Called when the associated Profile is going to be destroyed. | 258 // Called when the associated Profile is going to be destroyed. |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 GreylistUnknownDontChange); | 755 GreylistUnknownDontChange); |
| 755 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 756 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 756 ManagementPolicyProhibitsEnableOnInstalled); | 757 ManagementPolicyProhibitsEnableOnInstalled); |
| 757 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 758 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
| 758 BlockAndUnblockBlacklistedExtension); | 759 BlockAndUnblockBlacklistedExtension); |
| 759 | 760 |
| 760 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 761 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
| 761 }; | 762 }; |
| 762 | 763 |
| 763 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 764 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
| OLD | NEW |