| OLD | NEW |
| 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_IOS_READING_LIST_STORE_H_ | 5 #ifndef COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_ |
| 6 #define COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_ | 6 #define COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 9 #include <string> |
| 10 |
| 8 #include "base/threading/non_thread_safe.h" | 11 #include "base/threading/non_thread_safe.h" |
| 9 #include "components/reading_list/ios/reading_list_model_storage.h" | 12 #include "components/reading_list/ios/reading_list_model_storage.h" |
| 10 #include "components/reading_list/ios/reading_list_store_delegate.h" | 13 #include "components/reading_list/ios/reading_list_store_delegate.h" |
| 11 #include "components/sync/model/model_error.h" | 14 #include "components/sync/model/model_error.h" |
| 12 #include "components/sync/model/model_type_store.h" | 15 #include "components/sync/model/model_type_store.h" |
| 13 | 16 |
| 14 namespace syncer { | 17 namespace syncer { |
| 15 class MutableDataBatch; | 18 class MutableDataBatch; |
| 16 } | 19 } |
| 17 | 20 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 std::unique_ptr<syncer::ModelTypeStore> store_; | 160 std::unique_ptr<syncer::ModelTypeStore> store_; |
| 158 ReadingListModel* model_; | 161 ReadingListModel* model_; |
| 159 ReadingListStoreDelegate* delegate_; | 162 ReadingListStoreDelegate* delegate_; |
| 160 StoreFactoryFunction create_store_callback_; | 163 StoreFactoryFunction create_store_callback_; |
| 161 | 164 |
| 162 int pending_transaction_count_; | 165 int pending_transaction_count_; |
| 163 std::unique_ptr<syncer::ModelTypeStore::WriteBatch> batch_; | 166 std::unique_ptr<syncer::ModelTypeStore::WriteBatch> batch_; |
| 164 }; | 167 }; |
| 165 | 168 |
| 166 #endif // COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_ | 169 #endif // COMPONENTS_READING_LIST_IOS_READING_LIST_STORE_H_ |
| OLD | NEW |