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

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

Issue 2069763003: Move ntp_tiles classes to namespace ntp_tiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
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 25 matching lines...) Expand all
36 } 36 }
37 37
38 namespace user_prefs { 38 namespace user_prefs {
39 class PrefRegistrySyncable; 39 class PrefRegistrySyncable;
40 } 40 }
41 41
42 namespace variations { 42 namespace variations {
43 class VariationsService; 43 class VariationsService;
44 } 44 }
45 45
46 namespace ntp_tiles {
47
46 // Shim interface for SupervisedUserService. 48 // Shim interface for SupervisedUserService.
47 class MostVisitedSitesSupervisor { 49 class MostVisitedSitesSupervisor {
48 public: 50 public:
49 struct Whitelist { 51 struct Whitelist {
50 base::string16 title; 52 base::string16 title;
51 GURL entry_point; 53 GURL entry_point;
52 base::FilePath large_icon_path; 54 base::FilePath large_icon_path;
53 }; 55 };
54 56
55 class Observer { 57 class Observer {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 base::ThreadChecker thread_checker_; 281 base::ThreadChecker thread_checker_;
280 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 282 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
281 scoped_refptr<base::TaskRunner> blocking_runner_; 283 scoped_refptr<base::TaskRunner> blocking_runner_;
282 284
283 // For callbacks may be run after destruction. 285 // For callbacks may be run after destruction.
284 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; 286 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_;
285 287
286 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); 288 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites);
287 }; 289 };
288 290
291 } // namespace ntp_tiles
292
289 #endif // COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_ 293 #endif // COMPONENTS_NTP_TILES_MOST_VISITED_SITES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/popular_sites_internals_message_handler.cc ('k') | components/ntp_tiles/most_visited_sites.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698