Index: components/history/core/browser/history_client.h |
diff --git a/components/history/core/browser/history_client.h b/components/history/core/browser/history_client.h |
index 9bfb193a8d5054605a6a63167f1c86eda51223ce..9b718142bc023d26bc89185d6eff6f5b0e94c76b 100644 |
--- a/components/history/core/browser/history_client.h |
+++ b/components/history/core/browser/history_client.h |
@@ -52,6 +52,10 @@ class HistoryClient : public KeyedService { |
// If not on the main thread, then BlockUntilBookmarksLoaded must be called. |
virtual void GetBookmarks(std::vector<URLAndTitle>* bookmarks); |
+ // Returns true if this look like the type of URL that should be added to the |
+ // history. |
+ virtual bool CanAddURL(const GURL& url); |
+ |
// Notifies the embedder that there was a problem reading the database. |
// |
// Must be called from the main thread. |