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

Unified Diff: net/http/http_pipelined_connection_impl_unittest.cc

Issue 12161002: MessageLoop's RUN method will pass a const ref to PendingTask when (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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: net/http/http_pipelined_connection_impl_unittest.cc
===================================================================
--- net/http/http_pipelined_connection_impl_unittest.cc (revision 180270)
+++ net/http/http_pipelined_connection_impl_unittest.cc (working copy)
@@ -81,7 +81,7 @@
close_before_task_(close_before_task),
current_task_(0) { }
- virtual void WillProcessTask(base::TimeTicks) OVERRIDE {
+ virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE {
++current_task_;
if (current_task_ == close_before_task_) {
stream_->Close(false);
@@ -89,7 +89,7 @@
}
}
- virtual void DidProcessTask(base::TimeTicks) OVERRIDE { }
+ virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE {}
private:
HttpStream* stream_;
« no previous file with comments | « media/audio/mac/audio_device_listener_mac.cc ('k') | net/http/http_pipelined_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698