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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.h
diff --git a/chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.h b/chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..2ceec1bbe4e37e1dc9c433a52cdaea05e2ae156b
--- /dev/null
+++ b/chrome/browser/ntp_tiles/chrome_most_visited_sites_factory.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_NTP_TILES_CHROME_MOST_VISITED_SITES_FACTORY_H_
+#define CHROME_BROWSER_NTP_TILES_CHROME_MOST_VISITED_SITES_FACTORY_H_
+
+#include <memory>
+
+class Profile;
+
+namespace ntp_tiles {
+class MostVisitedSites;
+} // namespace ntp_tiles
+
+class ChromeMostVisitedSitesFactory {
+ public:
+ static std::unique_ptr<ntp_tiles::MostVisitedSites> NewForProfile(
+ Profile* profile);
+
+ ChromeMostVisitedSitesFactory() = delete;
+};
+
+#endif // CHROME_BROWSER_NTP_TILES_CHROME_MOST_VISITED_SITES_FACTORY_H_
« 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