Index: components/sync/model/fake_model_type_service.h |
diff --git a/components/sync/model/fake_model_type_service.h b/components/sync/model/fake_model_type_service.h |
index d607c737a1c9e7d4b1aef3b584d6d893be85ee6f..5d6b5a2b0021836eceb0c40363a322692850c0e6 100644 |
--- a/components/sync/model/fake_model_type_service.h |
+++ b/components/sync/model/fake_model_type_service.h |
@@ -112,7 +112,6 @@ class FakeModelTypeService : public ModelTypeService { |
void GetAllData(DataCallback callback) override; |
std::string GetClientTag(const EntityData& entity_data) override; |
std::string GetStorageKey(const EntityData& entity_data) override; |
- void OnChangeProcessorSet() override; |
ConflictResolution ResolveConflict( |
const EntityData& local_data, |
const EntityData& remote_data) const override; |
@@ -124,14 +123,14 @@ class FakeModelTypeService : public ModelTypeService { |
// Sets the error that the next fallible call to the service will generate. |
void SetServiceError(SyncError::ErrorType error_type); |
- const Store& db() const { return db_; } |
+ Store* db() { return db_.get(); } |
maxbogue
2016/10/12 23:40:35
Out of curiosity, why change the signature instead
skym
2016/10/13 19:21:38
Because I wanted it to be modifiable, and my under
|
protected: |
// Used to verify conditions upon destruction. |
virtual void CheckPostConditions(); |
// Contains all of the data and metadata state. |
- Store db_; |
+ std::unique_ptr<Store> db_; |
private: |
// Applies |change_list| to the metadata store. |