Skip to content

Commit

Permalink
safe_browsing: disable reporting of safebrowsing override
Browse files Browse the repository at this point in the history
Disables reporting of the safebrowsing override, i.e. the report sent
if a user decides to visit a page that was flagged as "insecure".
This prevents trk:148 (phishing) and trk:149 (malware).
  • Loading branch information
jengelh committed Nov 14, 2023
1 parent 9060c53 commit 9e586d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
const std::string& access_token) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);

if (!enabled_) {
if (1) {
if (!callback.is_null()) {
std::move(callback).Run(GURL(request->url()), false);
}
Expand Down

0 comments on commit 9e586d4

Please sign in to comment.