Revert of Report to safe browsing whether the user is opted into extended reporting...
commited0ee7ec70b84023a08b619c256ff580f24bd57c
authorjialiul <jialiul@chromium.org>
Thu, 25 Jun 2015 21:38:02 +0000 (25 14:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 25 Jun 2015 21:38:30 +0000 (25 21:38 +0000)
tree874a5f6e5946f3c1207eb3f616537282830d0f70
parentf3c74c70cf5d28d414711a6f0aa45240aa36390d
Revert of Report to safe browsing whether the user is opted into extended reporting (patchset #4 id:60001 of https://codereview.chromium.org/1195193002/)

Reason for revert:
Logic error in the download_protection_service.cc file.
GetActiveUserProfile may not return the one that cause the download.

Original issue's description:
> Report to safe browsing whether the user is opted into extended reporting, include:
> - Safe browsing hit report
> - ClientDownloadRequest
>
> BUG=492954
>
> Committed: https://crrev.com/8d234f1eaacda33f9d080449c04def5d0d2e7075
> Cr-Commit-Position: refs/heads/master@{#336197}

TBR=noelutz@chromium.org,noelutz@google.com,mattm@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=492954

Review URL: https://codereview.chromium.org/1211063002

Cr-Commit-Position: refs/heads/master@{#336261}
chrome/browser/safe_browsing/download_protection_service.cc
chrome/browser/safe_browsing/ping_manager.cc
chrome/browser/safe_browsing/ping_manager.h
chrome/browser/safe_browsing/ping_manager_unittest.cc
chrome/browser/safe_browsing/protocol_manager.cc
chrome/browser/safe_browsing/protocol_manager_helper.cc
chrome/browser/safe_browsing/protocol_manager_helper.h
chrome/browser/safe_browsing/protocol_manager_unittest.cc
chrome/browser/safe_browsing/ui_manager.cc
chrome/browser/safe_browsing/ui_manager.h