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

Side by Side Diff: ios/chrome/browser/reading_list/reading_list_model_impl.h

Issue 2350663003: Make reading list entry movable only (Closed)
Patch Set: indentation Created 4 years, 3 months 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 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698