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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 2357043003: Remove WebCallbackTask (Closed)
Patch Set: remove WebTaskRunner::postTask(base::Closure). git cl format Created 4 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 | « components/test_runner/web_task.cc ('k') | components/test_runner/web_view_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_delegate.h
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h
index 145a5efa842138e4892f04fb182e4d4735d0073f..e01b95ff55009db202a8bfd14762b5c675f3dc7f 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -83,9 +83,8 @@ class WebTestDelegate {
// The delegate takes ownership of the WebTask objects and is responsible
// for deleting them.
- virtual void PostTask(blink::WebTaskRunner::Task* task) = 0;
- virtual void PostDelayedTask(blink::WebTaskRunner::Task* task,
- long long ms) = 0;
+ virtual void PostTask(const base::Closure& task) = 0;
+ virtual void PostDelayedTask(const base::Closure& task, long long ms) = 0;
// Register a new isolated filesystem with the given files, and return the
// new filesystem id.
« no previous file with comments | « components/test_runner/web_task.cc ('k') | components/test_runner/web_view_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698