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

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

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.h
diff --git a/components/reading_list/ios/reading_list_store.h b/components/reading_list/ios/reading_list_store.h
index c8463c834bd99402e9065d4d7831a9c0541726f5..ff4b4d880774fdcdb23b4629b659afeab57dde15 100644
--- a/components/reading_list/ios/reading_list_store.h
+++ b/components/reading_list/ios/reading_list_store.h
@@ -9,7 +9,6 @@
#include "components/reading_list/ios/reading_list_model_storage.h"
#include "components/reading_list/ios/reading_list_store_delegate.h"
#include "components/sync/model/model_type_store.h"
-#include "components/sync/model/model_type_sync_bridge.h"
namespace syncer {
class MutableDataBatch;
@@ -18,8 +17,7 @@ class MutableDataBatch;
class ReadingListModel;
// A ReadingListModelStorage storing and syncing data in protobufs.
-class ReadingListStore : public syncer::ModelTypeSyncBridge,
- public ReadingListModelStorage,
+class ReadingListStore : public ReadingListModelStorage,
public base::NonThreadSafe {
using StoreFactoryFunction = base::Callback<void(
const syncer::ModelTypeStore::InitCallback& callback)>;
@@ -38,9 +36,6 @@ class ReadingListStore : public syncer::ModelTypeSyncBridge,
void SaveEntry(const ReadingListEntry& entry) override;
void RemoveEntry(const ReadingListEntry& entry) override;
- // ReadingListModelStorage implementation.
- syncer::ModelTypeSyncBridge* GetModelTypeSyncBridge() override;
-
// Creates an object used to communicate changes in the sync metadata to the
// model type store.
std::unique_ptr<syncer::MetadataChangeList> CreateMetadataChangeList()
« no previous file with comments | « components/reading_list/ios/reading_list_model_unittest.mm ('k') | components/reading_list/ios/reading_list_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698