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

Side by Side Diff: components/reading_list/ios/reading_list_store.h

Issue 2511723002: Enable RL sync by default on iOS (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_READING_LIST_READING_LIST_STORE_H_ 5 #ifndef COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_
6 #define COMPONENTS_READING_LIST_READING_LIST_STORE_H_ 6 #define COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_
7 7
8 #include "base/threading/non_thread_safe.h" 8 #include "base/threading/non_thread_safe.h"
9 #include "components/reading_list/reading_list_model_storage.h" 9 #include "components/reading_list/ios/reading_list_model_storage.h"
10 #include "components/reading_list/reading_list_store_delegate.h" 10 #include "components/reading_list/ios/reading_list_store_delegate.h"
11 #include "components/sync/model/model_type_store.h" 11 #include "components/sync/model/model_type_store.h"
12 #include "components/sync/model/model_type_sync_bridge.h" 12 #include "components/sync/model/model_type_sync_bridge.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 class MutableDataBatch; 15 class MutableDataBatch;
16 } 16 }
17 17
18 class ReadingListModel; 18 class ReadingListModel;
19 19
20 // A ReadingListModelStorage storing and syncing data in protobufs. 20 // A ReadingListModelStorage storing and syncing data in protobufs.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 std::unique_ptr<syncer::ModelTypeStore> store_; 129 std::unique_ptr<syncer::ModelTypeStore> store_;
130 ReadingListModel* model_; 130 ReadingListModel* model_;
131 ReadingListStoreDelegate* delegate_; 131 ReadingListStoreDelegate* delegate_;
132 StoreFactoryFunction create_store_callback_; 132 StoreFactoryFunction create_store_callback_;
133 133
134 int pending_transaction_count_; 134 int pending_transaction_count_;
135 std::unique_ptr<syncer::ModelTypeStore::WriteBatch> batch_; 135 std::unique_ptr<syncer::ModelTypeStore::WriteBatch> batch_;
136 }; 136 };
137 137
138 #endif // COMPONENTS_READING_LIST_READING_LIST_STORE_H_ 138 #endif // COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_
OLDNEW
« no previous file with comments | « components/reading_list/ios/reading_list_pref_names.cc ('k') | components/reading_list/ios/reading_list_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698