| Index: android_webview/lib/main/aw_main_delegate.cc
|
| diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
|
| index 4b2b973cb0ba8ed3129412b67a8580df9af15fab..f31503851f0471781da4ad2fc5542cafacae89fa 100644
|
| --- a/android_webview/lib/main/aw_main_delegate.cc
|
| +++ b/android_webview/lib/main/aw_main_delegate.cc
|
| @@ -30,6 +30,7 @@
|
| #include "base/threading/thread_restrictions.h"
|
| #include "cc/base/switches.h"
|
| #include "components/crash/content/app/breakpad_linux.h"
|
| +#include "components/safe_browsing_db/android/safe_browsing_api_handler_bridge.h"
|
| #include "components/spellcheck/common/spellcheck_features.h"
|
| #include "content/public/browser/android/browser_media_player_manager_register.h"
|
| #include "content/public/browser/browser_main_runner.h"
|
| @@ -152,6 +153,11 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
|
|
|
| CommandLineHelper::AddDisabledFeature(*cl, features::kWebPayments.name);
|
|
|
| + safe_browsing_api_handler_.reset(
|
| + new safe_browsing::SafeBrowsingApiHandlerBridge());
|
| + safe_browsing::SafeBrowsingApiHandler::SetInstance(
|
| + safe_browsing_api_handler_.get());
|
| +
|
| return false;
|
| }
|
|
|
|
|