|
@@ -355,7 +355,7 @@
|
|
|
DCHECK(safe_browsing_request_);
|
|
|
--- a/chrome/browser/ui/tab_contents/chrome_web_contents_view_handle_drop.cc
|
|
|
+++ b/chrome/browser/ui/tab_contents/chrome_web_contents_view_handle_drop.cc
|
|
|
-@@ -37,35 +37,4 @@ void HandleOnPerformDrop(
|
|
|
+@@ -37,35 +37,8 @@ void HandleOnPerformDrop(
|
|
|
content::WebContents* web_contents,
|
|
|
const content::DropData& drop_data,
|
|
|
content::WebContentsViewDelegate::DropCompletionCallback callback) {
|
|
@@ -390,6 +390,10 @@
|
|
|
- web_contents, std::move(data),
|
|
|
- base::BindOnce(&DeepScanCompletionCallback, std::move(callback)),
|
|
|
- safe_browsing::DeepScanAccessPoint::DRAG_AND_DROP);
|
|
|
++ // In original code, this ran safe_browsing::DeepScanningDialogDelegate
|
|
|
++ // Instead, run the code under "if (!safe_browsing::DeepScanningDialogDelegate::IsEnabled(...)) ..."
|
|
|
++ std::move(callback).Run(
|
|
|
++ content::WebContentsViewDelegate::DropCompletionResult::kContinue);
|
|
|
}
|
|
|
--- a/chrome/browser/ui/views/download/download_item_view.cc
|
|
|
+++ b/chrome/browser/ui/views/download/download_item_view.cc
|