| 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_IMPL_H_ | 5 #ifndef IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_IMPL_H_ |
| 6 #define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_IMPL_H_ | 6 #define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "components/keyed_service/core/keyed_service.h" | 10 #include "components/keyed_service/core/keyed_service.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void EndBatchUpdates() override; | 57 void EndBatchUpdates() override; |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 typedef std::vector<ReadingListEntry> ReadingListEntries; | 60 typedef std::vector<ReadingListEntry> ReadingListEntries; |
| 61 | 61 |
| 62 ReadingListEntries unread_; | 62 ReadingListEntries unread_; |
| 63 ReadingListEntries read_; | 63 ReadingListEntries read_; |
| 64 std::unique_ptr<ReadingListModelStorage> storageLayer_; | 64 std::unique_ptr<ReadingListModelStorage> storageLayer_; |
| 65 bool hasUnseen_; | 65 bool hasUnseen_; |
| 66 bool loaded_; | 66 bool loaded_; |
| 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(ReadingListModelImpl); |
| 67 }; | 69 }; |
| 68 | 70 |
| 69 #endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_MEMORY_H_ | 71 #endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_MODEL_MEMORY_H_ |
| OLD | NEW |