| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 const std::string& extension_id) const OVERRIDE; | 39 const std::string& extension_id) const OVERRIDE; |
| 40 | 40 |
| 41 virtual void UpdateExtensionBlacklist( | 41 virtual void UpdateExtensionBlacklist( |
| 42 const std::vector<std::string>& blacklist) OVERRIDE; | 42 const std::vector<std::string>& blacklist) OVERRIDE; |
| 43 virtual void CheckAdminBlacklist() OVERRIDE; | 43 virtual void CheckAdminBlacklist() OVERRIDE; |
| 44 virtual void CheckForUpdatesSoon() OVERRIDE; | 44 virtual void CheckForUpdatesSoon() OVERRIDE; |
| 45 | 45 |
| 46 virtual SyncError MergeDataAndStartSyncing( | 46 virtual SyncError MergeDataAndStartSyncing( |
| 47 syncable::ModelType type, | 47 syncable::ModelType type, |
| 48 const SyncDataList& initial_sync_data, | 48 const SyncDataList& initial_sync_data, |
| 49 SyncChangeProcessor* sync_processor) OVERRIDE; | 49 scoped_ptr<SyncChangeProcessor> sync_processor) OVERRIDE; |
| 50 virtual void StopSyncing(syncable::ModelType type) OVERRIDE; | 50 virtual void StopSyncing(syncable::ModelType type) OVERRIDE; |
| 51 virtual SyncDataList GetAllSyncData(syncable::ModelType type) const OVERRIDE; | 51 virtual SyncDataList GetAllSyncData(syncable::ModelType type) const OVERRIDE; |
| 52 virtual SyncError ProcessSyncChanges( | 52 virtual SyncError ProcessSyncChanges( |
| 53 const tracked_objects::Location& from_here, | 53 const tracked_objects::Location& from_here, |
| 54 const SyncChangeList& change_list) OVERRIDE; | 54 const SyncChangeList& change_list) OVERRIDE; |
| 55 | 55 |
| 56 virtual bool is_ready() OVERRIDE; | 56 virtual bool is_ready() OVERRIDE; |
| 57 | 57 |
| 58 virtual bool AddExtension(const Extension* extension) OVERRIDE; | 58 virtual bool AddExtension(const Extension* extension) OVERRIDE; |
| 59 | 59 |
| 60 virtual void UnloadExtension( | 60 virtual void UnloadExtension( |
| 61 const std::string& extension_id, | 61 const std::string& extension_id, |
| 62 extension_misc::UnloadedExtensionReason reason) OVERRIDE; | 62 extension_misc::UnloadedExtensionReason reason) OVERRIDE; |
| 63 | 63 |
| 64 virtual void SyncExtensionChangeIfNeeded(const Extension& extension) OVERRIDE; | 64 virtual void SyncExtensionChangeIfNeeded(const Extension& extension) OVERRIDE; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ | 67 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
| OLD | NEW |