OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |