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

Unified Diff: net/http/http_response_body_drainer.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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/dns/dns_transaction.cc ('k') | net/http/http_server_properties_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_body_drainer.h
diff --git a/net/http/http_response_body_drainer.h b/net/http/http_response_body_drainer.h
index a4255d0dea957ad4b58a4a73e625dc84b660767b..33368225be6dcb47b63525826d289eaa80d5a6ec 100644
--- a/net/http/http_response_body_drainer.h
+++ b/net/http/http_response_body_drainer.h
@@ -56,7 +56,7 @@ class NET_EXPORT_PRIVATE HttpResponseBodyDrainer {
State next_state_;
int total_read_;
CompletionCallback user_callback_;
- base::OneShotTimer<HttpResponseBodyDrainer> timer_;
+ base::OneShotTimer timer_;
HttpNetworkSession* session_;
DISALLOW_COPY_AND_ASSIGN(HttpResponseBodyDrainer);
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/http/http_server_properties_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698