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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 1805753002: Make test_runner::WebTask an internal detail of components/test_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-layout-dump-flags-dep
Patch Set: Created 4 years, 9 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 8a0edeac1856a80aa02f24d5594aa60cfc231e1f..ef5dddf4987d7c153e93d62254bd1b493a8d3604 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -11,6 +11,7 @@
#include "base/callback_forward.h"
#include "base/memory/ref_counted.h"
#include "third_party/WebKit/public/platform/WebString.h"
+#include "third_party/WebKit/public/platform/WebTaskRunner.h"
#include "third_party/WebKit/public/platform/WebURL.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h"
@@ -82,8 +83,9 @@ class WebTestDelegate {
// The delegate takes ownership of the WebTask objects and is responsible
// for deleting them.
- virtual void PostTask(WebTask* task) = 0;
- virtual void PostDelayedTask(WebTask* task, long long ms) = 0;
+ virtual void PostTask(blink::WebTaskRunner::Task* task) = 0;
+ virtual void PostDelayedTask(blink::WebTaskRunner::Task* task,
+ long long ms) = 0;
// Register a new isolated filesystem with the given files, and return the
// new filesystem id.

Powered by Google App Engine
This is Rietveld 408576698