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

Unified Diff: trunk/src/net/base/backoff_entry.cc

Issue 19674007: Revert 212129 "Cleaning up TODO(joi) entries in //net." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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 | « trunk/src/chrome/browser/io_thread.cc ('k') | trunk/src/net/url_request/url_request_throttler_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/base/backoff_entry.cc
===================================================================
--- trunk/src/net/base/backoff_entry.cc (revision 212147)
+++ trunk/src/net/base/backoff_entry.cc (working copy)
@@ -20,6 +20,9 @@
}
BackoffEntry::~BackoffEntry() {
+ // TODO(joi): Remove this once our clients (e.g. URLRequestThrottlerManager)
+ // always destroy from the I/O thread.
+ DetachFromThread();
}
void BackoffEntry::InformOfRequest(bool succeeded) {
« no previous file with comments | « trunk/src/chrome/browser/io_thread.cc ('k') | trunk/src/net/url_request/url_request_throttler_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698