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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 2357043003: Remove WebCallbackTask (Closed)
Patch Set: fix 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
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..3c83663a43c1fa2cdfbfe95ac0c825b59614d9c2 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -83,8 +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,
+ 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

Powered by Google App Engine
This is Rietveld 408576698