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 COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ | 5 #ifndef COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ |
6 #define COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ | 6 #define COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
17 #include "components/ntp_tiles/popular_sites.h" | 17 #include "components/ntp_tiles/popular_sites.h" |
18 #include "net/url_request/url_fetcher_delegate.h" | 18 #include "net/url_request/url_fetcher_delegate.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
| 22 class TaskRunner; |
| 23 class SequencedWorkerPool; |
22 class Value; | 24 class Value; |
23 } | 25 } |
24 | 26 |
25 namespace net { | 27 namespace net { |
26 class URLRequestContextGetter; | 28 class URLRequestContextGetter; |
27 } | 29 } |
28 | 30 |
29 namespace user_prefs { | 31 namespace user_prefs { |
30 class PrefRegistrySyncable; | 32 class PrefRegistrySyncable; |
31 } | 33 } |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 GURL pending_url_; | 104 GURL pending_url_; |
103 | 105 |
104 base::WeakPtrFactory<PopularSitesImpl> weak_ptr_factory_; | 106 base::WeakPtrFactory<PopularSitesImpl> weak_ptr_factory_; |
105 | 107 |
106 DISALLOW_COPY_AND_ASSIGN(PopularSitesImpl); | 108 DISALLOW_COPY_AND_ASSIGN(PopularSitesImpl); |
107 }; | 109 }; |
108 | 110 |
109 } // namespace ntp_tiles | 111 } // namespace ntp_tiles |
110 | 112 |
111 #endif // COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ | 113 #endif // COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ |
OLD | NEW |