| 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; | |
| 24 class Value; | 22 class Value; |
| 25 } | 23 } |
| 26 | 24 |
| 27 namespace net { | 25 namespace net { |
| 28 class URLRequestContextGetter; | 26 class URLRequestContextGetter; |
| 29 } | 27 } |
| 30 | 28 |
| 31 namespace user_prefs { | 29 namespace user_prefs { |
| 32 class PrefRegistrySyncable; | 30 class PrefRegistrySyncable; |
| 33 } | 31 } |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 GURL pending_url_; | 102 GURL pending_url_; |
| 105 | 103 |
| 106 base::WeakPtrFactory<PopularSitesImpl> weak_ptr_factory_; | 104 base::WeakPtrFactory<PopularSitesImpl> weak_ptr_factory_; |
| 107 | 105 |
| 108 DISALLOW_COPY_AND_ASSIGN(PopularSitesImpl); | 106 DISALLOW_COPY_AND_ASSIGN(PopularSitesImpl); |
| 109 }; | 107 }; |
| 110 | 108 |
| 111 } // namespace ntp_tiles | 109 } // namespace ntp_tiles |
| 112 | 110 |
| 113 #endif // COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ | 111 #endif // COMPONENTS_NTP_TILES_POPULAR_SITES_IMPL_H_ |
| OLD | NEW |