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

Unified Diff: components/history/core/browser/top_sites_database.h

Issue 870063002: Componentize TopSites, TopSitesBackend, TopSitesDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@815983002
Patch Set: Fix typo 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: components/history/core/browser/top_sites_database.h
diff --git a/chrome/browser/history/top_sites_database.h b/components/history/core/browser/top_sites_database.h
similarity index 93%
rename from chrome/browser/history/top_sites_database.h
rename to components/history/core/browser/top_sites_database.h
index 0a86936e92921a4d5498bc193addaa3dff5b9c40..2e2c7f8f8534ca1fc0d2da5969a1218504d142e3 100644
--- a/chrome/browser/history/top_sites_database.h
+++ b/components/history/core/browser/top_sites_database.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_
-#define CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_
+#ifndef COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_
+#define COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_
#include <map>
#include <string>
@@ -86,8 +86,7 @@ class TopSitesDatabase {
// Updates thumbnail of a URL that's already in the database.
// Returns true if the database query succeeds.
- bool UpdatePageThumbnail(const MostVisitedURL& url,
- const Images& thumbnail);
+ bool UpdatePageThumbnail(const MostVisitedURL& url, const Images& thumbnail);
// Returns |url|'s current rank or kRankOfNonExistingURL if not present.
int GetURLRank(const MostVisitedURL& url);
@@ -107,4 +106,4 @@ class TopSitesDatabase {
} // namespace history
-#endif // CHROME_BROWSER_HISTORY_TOP_SITES_DATABASE_H_
+#endif // COMPONENTS_HISTORY_CORE_BROWSER_TOP_SITES_DATABASE_H_
« no previous file with comments | « components/history/core/browser/top_sites_backend.cc ('k') | components/history/core/browser/top_sites_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698