Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: components/ntp_tiles/most_visited_sites.h

Issue 2575823002: [Popular Sites] Move PopularSitesImpl to dedicated file (Closed)
Patch Set: Added missing forward declaration. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/ntp_tiles/BUILD.gn ('k') | components/ntp_tiles/popular_sites.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/ntp_tiles/BUILD.gn ('k') | components/ntp_tiles/popular_sites.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698