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

Unified Diff: components/history/core/browser/history_client.cc

Issue 971423002: Abstract code filtering URLs added to the history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@keyed-service
Patch Set: Created 5 years, 10 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/history_client.cc
diff --git a/components/history/core/browser/history_client.cc b/components/history/core/browser/history_client.cc
index 194a616193a51b72b0a7ce26360402bd70cbe305..f73ae1fa4a4127e7b155381be7a2e5b99811082f 100644
--- a/components/history/core/browser/history_client.cc
+++ b/components/history/core/browser/history_client.cc
@@ -19,6 +19,10 @@ bool HistoryClient::IsBookmarked(const GURL& url) {
void HistoryClient::GetBookmarks(std::vector<URLAndTitle>* bookmarks) {
}
+bool HistoryClient::CanAddURL(const GURL& url) {
+ return true;
+}
+
void HistoryClient::NotifyProfileError(sql::InitStatus init_status) {
}

Powered by Google App Engine
This is Rietveld 408576698