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