Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1522)

Unified Diff: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc

Issue 8345033: Collect some histograms about signed binary downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
===================================================================
--- chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (revision 107068)
+++ chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (working copy)
@@ -170,11 +170,13 @@
}
virtual void TearDown() {
- // Delete the host object on the UI thread.
+ // Delete the host object and release the SafeBrowsingService on the UI
+ // thread.
BrowserThread::PostTask(
BrowserThread::UI,
FROM_HERE,
new DeleteTask<ClientSideDetectionHost>(csd_host_.release()));
+ sb_service_ = NULL;
message_loop_.RunAllPending();
TabContentsWrapperTestHarness::TearDown();
io_thread_.reset();

Powered by Google App Engine
This is Rietveld 408576698