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

Unified Diff: components/sync/model_impl/model_type_store_impl.h

Issue 2473553003: [Sync] Improve MetadataChangeList usage for types using ModelTypeStore. (Closed)
Patch Set: Fix comments + protected constructor. Created 4 years, 1 month 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: components/sync/model_impl/model_type_store_impl.h
diff --git a/components/sync/model_impl/model_type_store_impl.h b/components/sync/model_impl/model_type_store_impl.h
index 5a7d1d59a1b57a89c9eed12db88a8a75af6881c4..b8fa0b73811485e1fcf72aca595f3ee18773240f 100644
--- a/components/sync/model_impl/model_type_store_impl.h
+++ b/components/sync/model_impl/model_type_store_impl.h
@@ -60,7 +60,7 @@ class ModelTypeStoreImpl : public ModelTypeStore, public base::NonThreadSafe {
private:
class WriteBatchImpl : public WriteBatch {
public:
- WriteBatchImpl();
+ explicit WriteBatchImpl(ModelTypeStore* store);
~WriteBatchImpl() override;
std::unique_ptr<leveldb::WriteBatch> leveldb_write_batch_;
};
« no previous file with comments | « components/sync/model_impl/in_memory_metadata_change_list.cc ('k') | components/sync/model_impl/model_type_store_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698