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 IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_STORAGE_H_ | 5 #ifndef COMPONENTS_READING_LIST_READING_LIST_MODEL_STORAGE_H_ |
6 #define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_STORAGE_H_ | 6 #define COMPONENTS_READING_LIST_READING_LIST_MODEL_STORAGE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ios/chrome/browser/reading_list/reading_list_entry.h" | 10 #include "components/reading_list/reading_list_entry.h" |
11 | 11 |
12 class ReadingListModel; | 12 class ReadingListModel; |
13 class ReadingListStoreDelegate; | 13 class ReadingListStoreDelegate; |
14 | 14 |
15 namespace syncer { | 15 namespace syncer { |
16 class ModelTypeSyncBridge; | 16 class ModelTypeSyncBridge; |
17 } | 17 } |
18 | 18 |
19 // Interface for a persistence layer for reading list. | 19 // Interface for a persistence layer for reading list. |
20 // All interface methods have to be called on main thread. | 20 // All interface methods have to be called on main thread. |
(...skipping 24 matching lines...) Expand all Loading... |
45 | 45 |
46 // Removed an entry from the storage. | 46 // Removed an entry from the storage. |
47 virtual void RemoveEntry(const ReadingListEntry& entry) = 0; | 47 virtual void RemoveEntry(const ReadingListEntry& entry) = 0; |
48 | 48 |
49 class ScopedBatchUpdate { | 49 class ScopedBatchUpdate { |
50 public: | 50 public: |
51 virtual ~ScopedBatchUpdate() {} | 51 virtual ~ScopedBatchUpdate() {} |
52 }; | 52 }; |
53 }; | 53 }; |
54 | 54 |
55 #endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_STORAGE_H_ | 55 #endif // COMPONENTS_READING_LIST_READING_LIST_MODEL_STORAGE_H_ |
OLD | NEW |