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

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

Issue 2763233003: Move ReadingList model to components/reading_list/core (Closed)
Patch Set: feedback Created 3 years, 9 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_REMOVER_HELPER_H_ 5 #ifndef IOS_CHROME_BROWSER_READING_LIST_READING_LIST_REMOVER_HELPER_H_
6 #define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_REMOVER_HELPER_H_ 6 #define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_REMOVER_HELPER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/scoped_observer.h" 9 #include "base/scoped_observer.h"
10 #include "components/reading_list/ios/reading_list_model_observer.h" 10 #include "components/reading_list/core/reading_list_model_observer.h"
11 11
12 namespace ios { 12 namespace ios {
13 class ChromeBrowserState; 13 class ChromeBrowserState;
14 } 14 }
15 15
16 class ReadingListModel; 16 class ReadingListModel;
17 class ReadingListDownloadService; 17 class ReadingListDownloadService;
18 18
19 namespace reading_list { 19 namespace reading_list {
20 class ReadingListRemoverHelper : public ReadingListModelObserver { 20 class ReadingListRemoverHelper : public ReadingListModelObserver {
(...skipping 14 matching lines...) Expand all
35 Callback completion_; 35 Callback completion_;
36 ReadingListModel* reading_list_model_; 36 ReadingListModel* reading_list_model_;
37 ReadingListDownloadService* reading_list_download_service_; 37 ReadingListDownloadService* reading_list_download_service_;
38 ScopedObserver<ReadingListModel, ReadingListModelObserver> scoped_observer_; 38 ScopedObserver<ReadingListModel, ReadingListModelObserver> scoped_observer_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(ReadingListRemoverHelper); 40 DISALLOW_COPY_AND_ASSIGN(ReadingListRemoverHelper);
41 }; 41 };
42 } // namespace reading_list 42 } // namespace reading_list
43 43
44 #endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_REMOVER_HELPER_H_ 44 #endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_REMOVER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698