| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_ | 5 #ifndef COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ |
| 6 #define CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_ | 6 #define COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/scoped_observer.h" | 18 #include "base/scoped_observer.h" |
| 19 #include "chrome/browser/android/ntp/popular_sites.h" | |
| 20 #include "components/history/core/browser/history_types.h" | 19 #include "components/history/core/browser/history_types.h" |
| 21 #include "components/history/core/browser/top_sites_observer.h" | 20 #include "components/history/core/browser/top_sites_observer.h" |
| 21 #include "components/ntp_tiles/popular_sites.h" |
| 22 #include "components/suggestions/proto/suggestions.pb.h" | 22 #include "components/suggestions/proto/suggestions.pb.h" |
| 23 #include "components/suggestions/suggestions_service.h" | 23 #include "components/suggestions/suggestions_service.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 namespace gfx { | 26 namespace gfx { |
| 27 class Image; | 27 class Image; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace history { | 30 namespace history { |
| 31 class TopSites; | 31 class TopSites; |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 base::ThreadChecker thread_checker_; | 279 base::ThreadChecker thread_checker_; |
| 280 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; | 280 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; |
| 281 scoped_refptr<base::TaskRunner> blocking_runner_; | 281 scoped_refptr<base::TaskRunner> blocking_runner_; |
| 282 | 282 |
| 283 // For callbacks may be run after destruction. | 283 // For callbacks may be run after destruction. |
| 284 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; | 284 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; |
| 285 | 285 |
| 286 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); | 286 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); |
| 287 }; | 287 }; |
| 288 | 288 |
| 289 #endif // CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_ | 289 #endif // COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ |
| OLD | NEW |