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

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

Issue 1924773002: TopSites: filter out non-WebSafe URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@topsites_cleanup
Patch Set: comment Created 4 years, 8 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: ios/chrome/browser/history/history_backend_client_impl.h
diff --git a/ios/chrome/browser/history/history_backend_client_impl.h b/ios/chrome/browser/history/history_backend_client_impl.h
index 421a3b3e2013ef4dd54da3cd5f42bb6e89a615f5..eba9ea9f7c22f6e8159713cabbe65233fcfe5ecc 100644
--- a/ios/chrome/browser/history/history_backend_client_impl.h
+++ b/ios/chrome/browser/history/history_backend_client_impl.h
@@ -26,6 +26,7 @@ class HistoryBackendClientImpl : public history::HistoryBackendClient {
bool IsBookmarked(const GURL& url) override;
void GetBookmarks(std::vector<history::URLAndTitle>* bookmarks) override;
bool ShouldReportDatabaseError() override;
+ bool IsWebSafe(const GURL& url) override;
// BookmarkModel instance providing access to bookmarks. May be null during
// testing but must outlive HistoryBackendClientImpl if non-null.

Powered by Google App Engine
This is Rietveld 408576698