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

Unified Diff: components/reading_list/ios/reading_list_store.cc

Issue 2568023002: Fix inheritance in Reading List (Closed)
Patch Set: clean includes Created 4 years 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/reading_list/ios/reading_list_store.cc
diff --git a/components/reading_list/ios/reading_list_store.cc b/components/reading_list/ios/reading_list_store.cc
index beb300bfc62eaab3f59d24a67f8fce7aa37d0485..4b1f81ab26f4142186e234d27743c24372e98deb 100644
--- a/components/reading_list/ios/reading_list_store.cc
+++ b/components/reading_list/ios/reading_list_store.cc
@@ -20,7 +20,7 @@
ReadingListStore::ReadingListStore(
StoreFactoryFunction create_store_callback,
const ChangeProcessorFactory& change_processor_factory)
- : ModelTypeSyncBridge(change_processor_factory, syncer::READING_LIST),
+ : ReadingListModelStorage(change_processor_factory, syncer::READING_LIST),
create_store_callback_(create_store_callback),
pending_transaction_count_(0) {}
@@ -176,10 +176,6 @@ void ReadingListStore::OnStoreCreated(
return;
}
-syncer::ModelTypeSyncBridge* ReadingListStore::GetModelTypeSyncBridge() {
- return this;
-}
-
// Creates an object used to communicate changes in the sync metadata to the
// model type store.
std::unique_ptr<syncer::MetadataChangeList>
« no previous file with comments | « components/reading_list/ios/reading_list_store.h ('k') | components/reading_list/ios/reading_list_store_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698