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

Unified Diff: webkit/glue/webthread_impl.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
« no previous file with comments | « net/http/http_pipelined_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webthread_impl.cc
===================================================================
--- webkit/glue/webthread_impl.cc (revision 180270)
+++ webkit/glue/webthread_impl.cc (working copy)
@@ -10,6 +10,7 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/message_loop.h"
+#include "base/pending_task.h"
#include "base/threading/platform_thread.h"
namespace webkit_glue {
@@ -22,11 +23,11 @@
TaskObserverAdapter(WebThread::TaskObserver* observer)
: observer_(observer) { }
- virtual void WillProcessTask(base::TimeTicks) OVERRIDE {
+ virtual void WillProcessTask(const base::PendingTask& pending_task) OVERRIDE {
observer_->willProcessTask();
}
- virtual void DidProcessTask(base::TimeTicks) OVERRIDE {
+ virtual void DidProcessTask(const base::PendingTask& pending_task) OVERRIDE {
observer_->didProcessTask();
}
« no previous file with comments | « net/http/http_pipelined_network_transaction_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698