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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 bool is_ready() override; | 225 bool is_ready() override; |
226 base::SequencedTaskRunner* GetFileTaskRunner() override; | 226 base::SequencedTaskRunner* GetFileTaskRunner() override; |
227 | 227 |
228 // ExternalProvider::Visitor implementation. | 228 // ExternalProvider::Visitor implementation. |
229 // Exposed for testing. | 229 // Exposed for testing. |
230 bool OnExternalExtensionFileFound(const std::string& id, | 230 bool OnExternalExtensionFileFound(const std::string& id, |
231 const base::Version* version, | 231 const base::Version* version, |
232 const base::FilePath& path, | 232 const base::FilePath& path, |
233 extensions::Manifest::Location location, | 233 extensions::Manifest::Location location, |
234 int creation_flags, | 234 int creation_flags, |
235 bool mark_acknowledged) override; | 235 bool mark_acknowledged, |
| 236 bool install_immediately) override; |
236 bool OnExternalExtensionUpdateUrlFound( | 237 bool OnExternalExtensionUpdateUrlFound( |
237 const std::string& id, | 238 const std::string& id, |
238 const std::string& install_parameter, | 239 const std::string& install_parameter, |
239 const GURL& update_url, | 240 const GURL& update_url, |
240 extensions::Manifest::Location location, | 241 extensions::Manifest::Location location, |
241 int creation_flags, | 242 int creation_flags, |
242 bool mark_acknowledged) override; | 243 bool mark_acknowledged) override; |
243 void OnExternalProviderReady( | 244 void OnExternalProviderReady( |
244 const extensions::ExternalProviderInterface* provider) override; | 245 const extensions::ExternalProviderInterface* provider) override; |
245 | 246 |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 GreylistUnknownDontChange); | 763 GreylistUnknownDontChange); |
763 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 764 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
764 ManagementPolicyProhibitsEnableOnInstalled); | 765 ManagementPolicyProhibitsEnableOnInstalled); |
765 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, | 766 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, |
766 BlockAndUnblockBlacklistedExtension); | 767 BlockAndUnblockBlacklistedExtension); |
767 | 768 |
768 DISALLOW_COPY_AND_ASSIGN(ExtensionService); | 769 DISALLOW_COPY_AND_ASSIGN(ExtensionService); |
769 }; | 770 }; |
770 | 771 |
771 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ | 772 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ |
OLD | NEW |