Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: chrome/browser/extensions/test_extension_service.h

Issue 7564037: Apps/Extensions Sync refactoring -- delete most of the old glue, implement new sync API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Release build warning :-/ Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/test_extension_service.h
diff --git a/chrome/browser/extensions/test_extension_service.h b/chrome/browser/extensions/test_extension_service.h
index 751ec71153049f3a5a5114939296e8137e02a548..6abf3252e6626d03c9bc963f911e53dfcf07291f 100644
--- a/chrome/browser/extensions/test_extension_service.h
+++ b/chrome/browser/extensions/test_extension_service.h
@@ -42,14 +42,16 @@ class TestExtensionService : public ExtensionServiceInterface {
const std::vector<std::string>& blacklist) OVERRIDE;
virtual void CheckAdminBlacklist() OVERRIDE;
virtual void CheckForUpdatesSoon() OVERRIDE;
- virtual bool GetSyncData(
- const Extension& extension, ExtensionFilter filter,
- ExtensionSyncData* extension_sync_data) const OVERRIDE;
- virtual std::vector<ExtensionSyncData> GetSyncDataList(
- ExtensionFilter filter) const OVERRIDE;
- virtual void ProcessSyncData(
- const ExtensionSyncData& extension_sync_data,
- ExtensionFilter filter) OVERRIDE;
+
+ virtual SyncError MergeDataAndStartSyncing(
+ syncable::ModelType type,
+ const SyncDataList& initial_sync_data,
+ SyncChangeProcessor* sync_processor) OVERRIDE;
+ virtual void StopSyncing(syncable::ModelType type) OVERRIDE;
+ virtual SyncDataList GetAllSyncData(syncable::ModelType type) const OVERRIDE;
+ virtual SyncError ProcessSyncChanges(
+ const tracked_objects::Location& from_here,
+ const SyncChangeList& change_list) OVERRIDE;
};
#endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
« no previous file with comments | « chrome/browser/extensions/extension_sync_data_unittest.cc ('k') | chrome/browser/extensions/test_extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698