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 |