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

Unified Diff: components/sync/api/fake_model_type_service.h

Issue 2222373003: [Sync] Adding storage key concept for ModelTypeServices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing redundant hash value. Created 4 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
« no previous file with comments | « components/sync/api/entity_change.cc ('k') | components/sync/api/fake_model_type_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/fake_model_type_service.h
diff --git a/components/sync/api/fake_model_type_service.h b/components/sync/api/fake_model_type_service.h
index 2642c93bf9d093c63f46a2e46e2f706a2512d32a..e02a5e17c47d687cbc78ae4b09b1a7744c191f61 100644
--- a/components/sync/api/fake_model_type_service.h
+++ b/components/sync/api/fake_model_type_service.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_SYNC_API_FAKE_MODEL_TYPE_SERVICE_H_
#define COMPONENTS_SYNC_API_FAKE_MODEL_TYPE_SERVICE_H_
+#include <memory>
#include <string>
#include "components/sync/api/model_type_service.h"
@@ -27,9 +28,10 @@ class FakeModelTypeService : public ModelTypeService {
syncer::SyncError ApplySyncChanges(
std::unique_ptr<MetadataChangeList> metadata_change_list,
EntityChangeList entity_changes) override;
- void GetData(ClientTagList client_tags, DataCallback callback) override;
+ void GetData(StorageKeyList storage_keys, DataCallback callback) override;
void GetAllData(DataCallback callback) override;
std::string GetClientTag(const EntityData& entity_data) override;
+ std::string GetStorageKey(const EntityData& entity_data) override;
void OnChangeProcessorSet() override;
bool HasChangeProcessor() const;
« no previous file with comments | « components/sync/api/entity_change.cc ('k') | components/sync/api/fake_model_type_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698