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

Unified Diff: components/history/core/browser/history_backend_client.h

Issue 1924773002: TopSites: filter out non-WebSafe URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@topsites_cleanup
Patch Set: review 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: components/history/core/browser/history_backend_client.h
diff --git a/components/history/core/browser/history_backend_client.h b/components/history/core/browser/history_backend_client.h
index 8327bd26f7371ea825df03ed36936cd85be13d55..fca8e04a366ed0f46a19a857d87b353dcb0990c1 100644
--- a/components/history/core/browser/history_backend_client.h
+++ b/components/history/core/browser/history_backend_client.h
@@ -44,6 +44,8 @@ class HistoryBackendClient {
// Returns whether database errors should be reported to the crash server.
virtual bool ShouldReportDatabaseError() = 0;
+ virtual bool IsWebSafe(const GURL& url) = 0;
sdefresne 2016/05/03 12:03:40 Please document this method.
Marc Treib 2016/05/03 12:15:10 Done.
+
#if defined(OS_ANDROID)
// Called upon initialization of the HistoryBackend.
virtual void OnHistoryBackendInitialized(
« no previous file with comments | « components/history/core/browser/history_backend.cc ('k') | components/history/core/browser/history_backend_db_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698