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

Unified Diff: chrome/browser/net/predictor.cc

Issue 1115113002: Adding DCHECK for CurrentlyOn(BrowserThread::IO) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor.cc
diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
index 8d51f3f7dd565410f68b961c79cc38db894a992d..06f167ba631ba6e655394fbd9d5006487eec46b9 100644
--- a/chrome/browser/net/predictor.cc
+++ b/chrome/browser/net/predictor.cc
@@ -160,8 +160,7 @@ Predictor::Predictor(bool preconnect_enabled, bool predictor_enabled)
}
Predictor::~Predictor() {
- // TODO(rlp): Add DCHECK for CurrentlyOn(BrowserThread::IO) when the
- // ProfileManagerTest has been updated with a mock profile.
+ DCHECK_CURRENTLY_ON(BrowserThread::IO);
DCHECK(shutdown_);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698