Commit 97e994e7 authored by Owen Min's avatar Owen Min Committed by Commit Bot

Disable ReportSafeBrowsingData by default.

Disable this data upload as it's not used by server.

Change-Id: I7da2e3b82aef19318a3ed5ec6c00f2cabe15fb2b
Reviewed-on: https://chromium-review.googlesource.com/c/1370723Reviewed-by: default avatarMarc-André Decoste <mad@chromium.org>
Commit-Queue: Owen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615537}
parent 97d45bc0
......@@ -154,6 +154,9 @@ TEST_F(ChromeDesktopReportRequestGeneratorTest, InvalidInput) {
}
TEST_F(ChromeDesktopReportRequestGeneratorTest, SafeBrowsing) {
profile_.GetPrefs()->SetBoolean(enterprise_reporting::kReportSafeBrowsingData,
true);
std::unique_ptr<base::DictionaryValue> report;
report = base::DictionaryValue::From(
base::JSONReader::Read("{\"browserReport\": "
......
......@@ -31,7 +31,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterBooleanPref(kReportMachineIDData, true);
registry->RegisterBooleanPref(kReportUserIDData, true);
registry->RegisterBooleanPref(kReportExtensionsAndPluginsData, true);
registry->RegisterBooleanPref(kReportSafeBrowsingData, true);
registry->RegisterBooleanPref(kReportSafeBrowsingData, false);
registry->RegisterBooleanPref(prefs::kCloudReportingEnabled, false);
}
......
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