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

Side by Side Diff: components/reading_list/reading_list_model_storage.h

Issue 2514333003: Componentize Reading List (Closed)
Patch Set: rebase Created 4 years, 1 month 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_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
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_
OLDNEW
« no previous file with comments | « components/reading_list/reading_list_model_observer.h ('k') | components/reading_list/reading_list_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698