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

Unified Diff: net/base/backoff_entry.cc

Issue 2910473005: Deprecate NonThreadSafe in net/ in favor of SequenceChecker/ThreadChecker. (Closed)
Patch Set: rebase on r476634 Created 3 years, 7 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 | « net/base/backoff_entry.h ('k') | net/base/network_change_notifier_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/backoff_entry.cc
diff --git a/net/base/backoff_entry.cc b/net/base/backoff_entry.cc
index a77c5251c9e647bba85748d36a4cb4fe9664c9c6..5914711a288fdaaef1552cdee4486cc2006fae86 100644
--- a/net/base/backoff_entry.cc
+++ b/net/base/backoff_entry.cc
@@ -26,9 +26,9 @@ BackoffEntry::BackoffEntry(const BackoffEntry::Policy* policy,
}
BackoffEntry::~BackoffEntry() {
- // TODO(joi): Remove this once our clients (e.g. URLRequestThrottlerManager)
+ // TODO(joi): Enable this once our clients (e.g. URLRequestThrottlerManager)
// always destroy from the I/O thread.
- DetachFromThread();
+ // DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
}
void BackoffEntry::InformOfRequest(bool succeeded) {
« no previous file with comments | « net/base/backoff_entry.h ('k') | net/base/network_change_notifier_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698