Commit 542d7fd5 authored by Daniel Rubery's avatar Daniel Rubery Committed by Commit Bot

Clear ClientDownloadResponses when closing chrome://safe-browsing tabs

Change-Id: Iade20c998ceed292eb16595ef23ae30d3bf03202
Reviewed-on: https://chromium-review.googlesource.com/1256013Reviewed-by: default avatarVarun Khaneja <vakh@chromium.org>
Commit-Queue: Varun Khaneja <vakh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595663}
parent 7b878233
...@@ -178,6 +178,7 @@ void WebUIInfoSingleton::UnregisterWebUIInstance(SafeBrowsingUIHandler* webui) { ...@@ -178,6 +178,7 @@ void WebUIInfoSingleton::UnregisterWebUIInstance(SafeBrowsingUIHandler* webui) {
if (webui_instances_.empty()) { if (webui_instances_.empty()) {
ClearCSBRRsSent(); ClearCSBRRsSent();
ClearClientDownloadRequestsSent(); ClearClientDownloadRequestsSent();
ClearClientDownloadResponsesReceived();
ClearPGEvents(); ClearPGEvents();
ClearPGPings(); ClearPGPings();
ClearLogMessages(); ClearLogMessages();
......
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