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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const syncer::SyncDataList& initial_sync_data, | 58 const syncer::SyncDataList& initial_sync_data, |
59 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, | 59 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, |
60 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; | 60 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; |
61 virtual void StopSyncing(syncer::ModelType type) OVERRIDE; | 61 virtual void StopSyncing(syncer::ModelType type) OVERRIDE; |
62 virtual syncer::SyncDataList GetAllSyncData( | 62 virtual syncer::SyncDataList GetAllSyncData( |
63 syncer::ModelType type) const OVERRIDE; | 63 syncer::ModelType type) const OVERRIDE; |
64 virtual syncer::SyncError ProcessSyncChanges( | 64 virtual syncer::SyncError ProcessSyncChanges( |
65 const tracked_objects::Location& from_here, | 65 const tracked_objects::Location& from_here, |
66 const syncer::SyncChangeList& change_list) OVERRIDE; | 66 const syncer::SyncChangeList& change_list) OVERRIDE; |
67 | 67 |
68 virtual bool is_ready() OVERRIDE; | |
69 | |
70 virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE; | 68 virtual base::SequencedTaskRunner* GetFileTaskRunner() OVERRIDE; |
71 | 69 |
72 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; | 70 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; |
73 virtual void AddComponentExtension( | 71 virtual void AddComponentExtension( |
74 const extensions::Extension* extension) OVERRIDE; | 72 const extensions::Extension* extension) OVERRIDE; |
75 | 73 |
76 virtual void UnloadExtension( | 74 virtual void UnloadExtension( |
77 const std::string& extension_id, | 75 const std::string& extension_id, |
78 extension_misc::UnloadedExtensionReason reason) OVERRIDE; | 76 extension_misc::UnloadedExtensionReason reason) OVERRIDE; |
79 | 77 |
80 virtual void SyncExtensionChangeIfNeeded( | 78 virtual void SyncExtensionChangeIfNeeded( |
81 const extensions::Extension& extension) OVERRIDE; | 79 const extensions::Extension& extension) OVERRIDE; |
82 }; | 80 }; |
83 | 81 |
84 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ | 82 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ |
OLD | NEW |