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

Unified Diff: chrome/browser/history/top_sites_factory.h

Issue 870063002: Componentize TopSites, TopSitesBackend, TopSitesDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@815983002
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/top_sites_factory.h
diff --git a/chrome/browser/history/top_sites_factory.h b/chrome/browser/history/top_sites_factory.h
index d1bd04cff5d8add42c616b6f91be3662c320f4b1..d3d22e7769f95cf01e131220af5f3feeed1e6747 100644
--- a/chrome/browser/history/top_sites_factory.h
+++ b/chrome/browser/history/top_sites_factory.h
@@ -6,12 +6,17 @@
#define CHROME_BROWSER_HISTORY_TOP_SITES_FACTORY_H_
#include "base/memory/ref_counted.h"
-#include "chrome/browser/history/top_sites.h"
#include "components/keyed_service/content/refcounted_browser_context_keyed_service_factory.h"
template <typename T>
struct DefaultSingletonTraits;
+namespace history {
+class TopSites;
+}
+
+class Profile;
+
// Used for creating and fetching a per-profile instance of the
// TopSites.
class TopSitesFactory : public RefcountedBrowserContextKeyedServiceFactory {

Powered by Google App Engine
This is Rietveld 408576698