| 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_TEST_EXTENSION_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 const std::string& id, bool include_disabled) const OVERRIDE; | 41 const std::string& id, bool include_disabled) const OVERRIDE; |
| 42 virtual const extensions::Extension* GetInstalledExtension( | 42 virtual const extensions::Extension* GetInstalledExtension( |
| 43 const std::string& id) const OVERRIDE; | 43 const std::string& id) const OVERRIDE; |
| 44 virtual bool IsExtensionEnabled( | 44 virtual bool IsExtensionEnabled( |
| 45 const std::string& extension_id) const OVERRIDE; | 45 const std::string& extension_id) const OVERRIDE; |
| 46 virtual bool IsExternalExtensionUninstalled( | 46 virtual bool IsExternalExtensionUninstalled( |
| 47 const std::string& extension_id) const OVERRIDE; | 47 const std::string& extension_id) const OVERRIDE; |
| 48 | 48 |
| 49 virtual void UpdateExtensionBlacklist( | 49 virtual void UpdateExtensionBlacklist( |
| 50 const std::vector<std::string>& blacklist) OVERRIDE; | 50 const std::vector<std::string>& blacklist) OVERRIDE; |
| 51 virtual void CheckAdminBlacklist() OVERRIDE; | 51 virtual void CheckManagementPolicy() OVERRIDE; |
| 52 virtual void CheckForUpdatesSoon() OVERRIDE; | 52 virtual void CheckForUpdatesSoon() OVERRIDE; |
| 53 | 53 |
| 54 virtual syncer::SyncError MergeDataAndStartSyncing( | 54 virtual syncer::SyncError MergeDataAndStartSyncing( |
| 55 syncer::ModelType type, | 55 syncer::ModelType type, |
| 56 const syncer::SyncDataList& initial_sync_data, | 56 const syncer::SyncDataList& initial_sync_data, |
| 57 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, | 57 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, |
| 58 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; | 58 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; |
| 59 virtual void StopSyncing(syncer::ModelType type) OVERRIDE; | 59 virtual void StopSyncing(syncer::ModelType type) OVERRIDE; |
| 60 virtual syncer::SyncDataList GetAllSyncData( | 60 virtual syncer::SyncDataList GetAllSyncData( |
| 61 syncer::ModelType type) const OVERRIDE; | 61 syncer::ModelType type) const OVERRIDE; |
| 62 virtual syncer::SyncError ProcessSyncChanges( | 62 virtual syncer::SyncError ProcessSyncChanges( |
| 63 const tracked_objects::Location& from_here, | 63 const tracked_objects::Location& from_here, |
| 64 const syncer::SyncChangeList& change_list) OVERRIDE; | 64 const syncer::SyncChangeList& change_list) OVERRIDE; |
| 65 | 65 |
| 66 virtual bool is_ready() OVERRIDE; | 66 virtual bool is_ready() OVERRIDE; |
| 67 | 67 |
| 68 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; | 68 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; |
| 69 | 69 |
| 70 virtual void UnloadExtension( | 70 virtual void UnloadExtension( |
| 71 const std::string& extension_id, | 71 const std::string& extension_id, |
| 72 extension_misc::UnloadedExtensionReason reason) OVERRIDE; | 72 extension_misc::UnloadedExtensionReason reason) OVERRIDE; |
| 73 | 73 |
| 74 virtual void SyncExtensionChangeIfNeeded( | 74 virtual void SyncExtensionChangeIfNeeded( |
| 75 const extensions::Extension& extension) OVERRIDE; | 75 const extensions::Extension& extension) OVERRIDE; |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ | 78 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
| OLD | NEW |