Commit ff2c8f45 authored by Yves Arrouye's avatar Yves Arrouye Committed by Commit Bot

Fix comment in WebProtect's real time client initialization

Bug: N/A
Test: N/A
Change-Id: Icf7a53ecf5e22a356478fb5cb754e38b0bfd5ee2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1845851Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Auto-Submit: Yves Arrouye <drcrash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703408}
parent f40928b1
...@@ -339,10 +339,10 @@ void SafeBrowsingPrivateEventRouter::SetCloudPolicyClientForTesting( ...@@ -339,10 +339,10 @@ void SafeBrowsingPrivateEventRouter::SetCloudPolicyClientForTesting(
void SafeBrowsingPrivateEventRouter::InitRealtimeReportingClient() { void SafeBrowsingPrivateEventRouter::InitRealtimeReportingClient() {
#if !defined(OS_CHROMEOS) #if !defined(OS_CHROMEOS)
// This method is not compiled on chromeos because // This method is not compiled on Chrome OS because
// MachineLevelUserCloudPolicyController does not exist. Also, // MachineLevelUserCloudPolicyController does not exist. Also,
// policy::BrowserDMTokenStorage::Get()->RetrieveDMToken() does return a // policy::BrowserDMTokenStorage::Get()->RetrieveDMToken() doesn't return a
// valid token either. Once these are fixed the #if !define can be removed. // valid token either. Once these are fixed the #if !defined can be removed.
if (!policy::MachineLevelUserCloudPolicyController:: if (!policy::MachineLevelUserCloudPolicyController::
IsMachineLevelUserCloudPolicyEnabled()) { IsMachineLevelUserCloudPolicyEnabled()) {
......
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