Commit 613bc8fc authored by Varun Khaneja's avatar Varun Khaneja Committed by Commit Bot

Protego: Correct the policy in annotations

Bug: 963165,1001566
Change-Id: I507240025a8fd0870f5b6e4e7c860441c7564826
Fixed: 998976
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881713
Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org>
Reviewed-by: default avatarNicolas Ouellet-Payeur <nicolaso@chromium.org>
Reviewed-by: default avatarBettina Dea <bdea@chromium.org>
Auto-Submit: Varun Khaneja <vakh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710194}
parent 00d54877
......@@ -56,7 +56,6 @@ void RealTimeUrlLookupService::StartLookup(
std::string req_data;
request->SerializeToString(&req_data);
// TODO(vakh): Add the correct chrome_policy field below.
net::NetworkTrafficAnnotationTag traffic_annotation =
net::DefineNetworkTrafficAnnotation("safe_browsing_realtime_url_lookup",
R"(
......@@ -83,9 +82,9 @@ void RealTimeUrlLookupService::StartLookup(
"and browsing better (Sends URLs of pages you visit to Google)' in "
"Chromium settings under Privacy."
chrome_policy {
SafeBrowsingEnabled {
SafeBrowsingRealTimeLookupEnabled {
policy_options {mode: MANDATORY}
SafeBrowsingEnabled: false
SafeBrowsingRealTimeLookupEnabled: false
}
}
})");
......
......@@ -241,7 +241,7 @@ Refer to README.md for content description and update process.
<item id="safe_browsing_get_full_hash" hash_code="68745894" type="0" deprecated="2018-08-14" content_hash_code="21739198" file_path=""/>
<item id="safe_browsing_incident" hash_code="124950347" type="0" content_hash_code="58481082" os_list="linux,windows" file_path="chrome/browser/safe_browsing/incident_reporting/incident_report_uploader_impl.cc"/>
<item id="safe_browsing_module_loader" hash_code="6019475" type="0" content_hash_code="49511650" os_list="linux,windows" file_path="chrome/browser/safe_browsing/client_side_model_loader.cc"/>
<item id="safe_browsing_realtime_url_lookup" hash_code="119324658" type="0" content_hash_code="23793759" os_list="linux,windows" file_path="components/safe_browsing/realtime/url_lookup_service.cc"/>
<item id="safe_browsing_realtime_url_lookup" hash_code="119324658" type="0" content_hash_code="17024823" os_list="linux,windows" file_path="components/safe_browsing/realtime/url_lookup_service.cc"/>
<item id="safe_browsing_v4_get_hash" hash_code="8561691" type="0" content_hash_code="132435617" os_list="linux,windows" file_path="components/safe_browsing/db/v4_get_hash_protocol_manager.cc"/>
<item id="safe_browsing_v4_update" hash_code="82509217" type="0" content_hash_code="5247849" os_list="linux,windows" file_path="components/safe_browsing/db/v4_update_protocol_manager.cc"/>
<item id="save_file_manager" hash_code="56275203" type="0" content_hash_code="56692339" os_list="linux,windows" file_path="content/browser/download/save_file_manager.cc"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment