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..512170478d20015dac17c286dacbe8634146f363 100644 |
--- a/components/history/core/browser/history_backend_client.h |
+++ b/components/history/core/browser/history_backend_client.h |
@@ -44,6 +44,10 @@ class HistoryBackendClient { |
// Returns whether database errors should be reported to the crash server. |
virtual bool ShouldReportDatabaseError() = 0; |
+ // Returns whether |url| should be considered web-safe (see |
+ // content::ChildProcessSecurityPolicy). |
+ virtual bool IsWebSafe(const GURL& url) = 0; |
+ |
#if defined(OS_ANDROID) |
// Called upon initialization of the HistoryBackend. |
virtual void OnHistoryBackendInitialized( |