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

Side by Side Diff: chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.h

Issue 2572533002: Add ChromeMostVisitedSitesFactory (Closed)
Patch Set: Use factory for webui 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_NTP_TILES_CHROME_MOST_VISITED_SITES_FACTORY_H_
6 #define CHROME_BROWSER_NTP_TILES_CHROME_MOST_VISITED_SITES_FACTORY_H_
7
8 #include <memory>
9
10 class Profile;
11
12 namespace ntp_tiles {
13 class MostVisitedSites;
14 } // namespace ntp_tiles
15
16 class ChromeMostVisitedSitesFactory {
17 public:
18 static std::unique_ptr<ntp_tiles::MostVisitedSites> NewForProfile(
19 Profile* profile);
20
21 ChromeMostVisitedSitesFactory() = delete;
22 };
23
24 #endif // CHROME_BROWSER_NTP_TILES_CHROME_MOST_VISITED_SITES_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/ntp_tiles/OWNERS ('k') | chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698