| Index: chrome/browser/history/chrome_history_backend_client.cc
|
| diff --git a/chrome/browser/history/chrome_history_backend_client.cc b/chrome/browser/history/chrome_history_backend_client.cc
|
| index 7159c12ba7ee0f8af84470e2da23222e0c353c46..d41df80e2d93ddc268f060985666afa9ced0c856 100644
|
| --- a/chrome/browser/history/chrome_history_backend_client.cc
|
| +++ b/chrome/browser/history/chrome_history_backend_client.cc
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/common/features.h"
|
| #include "components/bookmarks/browser/bookmark_model.h"
|
| #include "components/version_info/version_info.h"
|
| +#include "content/public/browser/child_process_security_policy.h"
|
| #include "url/gurl.h"
|
|
|
| #if BUILDFLAG(ANDROID_JAVA_UI)
|
| @@ -72,6 +73,11 @@ bool ChromeHistoryBackendClient::ShouldReportDatabaseError() {
|
| channel != version_info::Channel::BETA;
|
| }
|
|
|
| +bool ChromeHistoryBackendClient::IsWebSafe(const GURL& url) {
|
| + return content::ChildProcessSecurityPolicy::GetInstance()->IsWebSafeScheme(
|
| + url.scheme());
|
| +}
|
| +
|
| #if BUILDFLAG(ANDROID_JAVA_UI)
|
| void ChromeHistoryBackendClient::OnHistoryBackendInitialized(
|
| history::HistoryBackend* history_backend,
|
|
|