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

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

Issue 2948008: Fix missing thumbnails for new profile with TopSites. (Closed)
Patch Set: After second review. Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/history/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index f1c7544f01f64439ff59816beddccdbda5db2924..9548f65dfd3b16fcfd68f1a824f6352668160e36 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -554,6 +554,10 @@ class HistoryService : public CancelableRequestProvider,
// to delete the thumbnails DB.
void OnTopSitesReady();
+ // Returns true if this looks like the type of URL we want to add to the
+ // history. We filter out some URLs such as JavaScript.
+ static bool CanAddURL(const GURL& url);
+
protected:
~HistoryService();
@@ -615,10 +619,6 @@ class HistoryService : public CancelableRequestProvider,
// notification (NOTIFY_HISTORY_LOADED) and sets backend_loaded_ to true.
void OnDBLoaded();
- // Returns true if this looks like the type of URL we want to add to the
- // history. We filter out some URLs such as JavaScript.
- bool CanAddURL(const GURL& url) const;
-
// FavIcon -------------------------------------------------------------------
// These favicon methods are exposed to the FaviconService. Instead of calling
« no previous file with comments | « no previous file | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698