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_DOWNLOAD_SERVICE_H_ | 5 #ifndef IOS_CHROME_BROWSER_READING_LIST_READING_LIST_DOWNLOAD_SERVICE_H_ |
6 #define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_DOWNLOAD_SERVICE_H_ | 6 #define IOS_CHROME_BROWSER_READING_LIST_READING_LIST_DOWNLOAD_SERVICE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/keyed_service/core/keyed_service.h" | 9 #include "components/keyed_service/core/keyed_service.h" |
10 #include "components/reading_list/reading_list_model_observer.h" | 10 #include "components/reading_list/ios/reading_list_model_observer.h" |
11 #include "ios/chrome/browser/reading_list/url_downloader.h" | 11 #include "ios/chrome/browser/reading_list/url_downloader.h" |
12 #include "net/base/network_change_notifier.h" | 12 #include "net/base/network_change_notifier.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 class PrefService; | 15 class PrefService; |
16 class ReadingListModel; | 16 class ReadingListModel; |
17 namespace base { | 17 namespace base { |
18 class FilePath; | 18 class FilePath; |
19 } | 19 } |
20 | 20 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 std::vector<GURL> url_to_download_cellular_; | 95 std::vector<GURL> url_to_download_cellular_; |
96 std::vector<GURL> url_to_download_wifi_; | 96 std::vector<GURL> url_to_download_wifi_; |
97 bool had_connection_; | 97 bool had_connection_; |
98 | 98 |
99 base::WeakPtrFactory<ReadingListDownloadService> weak_ptr_factory_; | 99 base::WeakPtrFactory<ReadingListDownloadService> weak_ptr_factory_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(ReadingListDownloadService); | 101 DISALLOW_COPY_AND_ASSIGN(ReadingListDownloadService); |
102 }; | 102 }; |
103 | 103 |
104 #endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_DOWNLOAD_SERVICE_H_ | 104 #endif // IOS_CHROME_BROWSER_READING_LIST_READING_LIST_DOWNLOAD_SERVICE_H_ |
OLD | NEW |