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

Unified Diff: cc/resources/return_callback.h

Issue 485043003: cc: Use correct message loop proxy in BlockingTaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits. Created 6 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 | « cc/resources/resource_update_controller_unittest.cc ('k') | cc/resources/scoped_resource_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/return_callback.h
diff --git a/cc/resources/return_callback.h b/cc/resources/return_callback.h
index d12254bd662600abbc5788dbf12d5847c5b7595b..abf5aec1d14851c817a812c1328c2407c5c687c7 100644
--- a/cc/resources/return_callback.h
+++ b/cc/resources/return_callback.h
@@ -9,8 +9,11 @@
#include "cc/resources/returned_resource.h"
namespace cc {
+class BlockingTaskRunner;
-typedef base::Callback<void(const ReturnedResourceArray&)> ReturnCallback;
+typedef base::Callback<void(const ReturnedResourceArray&,
+ BlockingTaskRunner* main_thread_task_runner)>
+ ReturnCallback;
} // namespace cc
« no previous file with comments | « cc/resources/resource_update_controller_unittest.cc ('k') | cc/resources/scoped_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698