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

Unified Diff: third_party/WebKit/Source/platform/WebTaskRunner.h

Issue 2568063003: Remove WebTaskRunner::Task (Closed)
Patch Set: . Created 4 years 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 | « no previous file | third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/WebTaskRunner.h
diff --git a/third_party/WebKit/Source/platform/WebTaskRunner.h b/third_party/WebKit/Source/platform/WebTaskRunner.h
index b6cf972f84d58e5b9cf7f41c16fa95d449c0da33..073e1ee9573459779b046c14256f5282de662a6c 100644
--- a/third_party/WebKit/Source/platform/WebTaskRunner.h
+++ b/third_party/WebKit/Source/platform/WebTaskRunner.h
@@ -60,22 +60,6 @@ class BLINK_PLATFORM_EXPORT WebTaskRunner {
public:
virtual ~WebTaskRunner() {}
- class BLINK_PLATFORM_EXPORT Task {
- public:
- virtual ~Task() {}
- virtual void run() = 0;
- };
-
- // Schedule a task to be run on the the associated WebThread.
- // Takes ownership of |Task|. Can be called from any thread.
- virtual void postTask(const WebTraceLocation&, Task*) = 0;
-
- // Schedule a task to be run after |delayMs| on the the associated WebThread.
- // Takes ownership of |Task|. Can be called from any thread.
- virtual void postDelayedTask(const WebTraceLocation&,
- Task*,
- double delayMs) = 0;
-
// Schedule a task to be run after |delayMs| on the the associated WebThread.
// Can be called from any thread.
virtual void postDelayedTask(const WebTraceLocation&,
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/scheduler/child/web_task_runner_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698