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

Unified Diff: chrome/browser/io_thread.cc

Issue 9310020: Add SafeBrowsingURLRequestContext which stores cookies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes, fix DownloadProtectionServiceTest Created 8 years, 10 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/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 6ad01f64ac68477963aef845ca567c9f7517cc48..1fd33afbf8c6a2741530d34ffe30f1330296098e 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -66,6 +66,8 @@
using content::BrowserThread;
+class SafeBrowsingURLRequestContext;
+
// The IOThread object must outlive any tasks posted to the IO thread before the
// Quit task, so base::Bind() calls are not refcounted.
@@ -473,6 +475,8 @@ void IOThread::Init() {
}
void IOThread::CleanUp() {
+ base::debug::LeakTracker<SafeBrowsingURLRequestContext>::CheckForLeaks();
+
delete sdch_manager_;
sdch_manager_ = NULL;

Powered by Google App Engine
This is Rietveld 408576698