| 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 COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ | 5 #ifndef COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ |
| 6 #define COMPONENTS_NTP_TILES_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> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "url/gurl.h" | 25 #include "url/gurl.h" |
| 26 | 26 |
| 27 namespace history { | 27 namespace history { |
| 28 class TopSites; | 28 class TopSites; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace user_prefs { | 31 namespace user_prefs { |
| 32 class PrefRegistrySyncable; | 32 class PrefRegistrySyncable; |
| 33 } | 33 } |
| 34 | 34 |
| 35 class PrefService; |
| 36 |
| 35 namespace ntp_tiles { | 37 namespace ntp_tiles { |
| 36 | 38 |
| 37 class IconCacher; | 39 class IconCacher; |
| 38 | 40 |
| 39 // Shim interface for SupervisedUserService. | 41 // Shim interface for SupervisedUserService. |
| 40 class MostVisitedSitesSupervisor { | 42 class MostVisitedSitesSupervisor { |
| 41 public: | 43 public: |
| 42 struct Whitelist { | 44 struct Whitelist { |
| 43 base::string16 title; | 45 base::string16 title; |
| 44 GURL entry_point; | 46 GURL entry_point; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 197 |
| 196 // For callbacks may be run after destruction. | 198 // For callbacks may be run after destruction. |
| 197 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; | 199 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; |
| 198 | 200 |
| 199 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); | 201 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); |
| 200 }; | 202 }; |
| 201 | 203 |
| 202 } // namespace ntp_tiles | 204 } // namespace ntp_tiles |
| 203 | 205 |
| 204 #endif // COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ | 206 #endif // COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ |
| OLD | NEW |