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

Unified Diff: content/child/webthread_base.h

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: content/child/webthread_base.h
diff --git a/content/child/webthread_base.h b/content/child/webthread_base.h
index 5d6ebb9b0f05ff1855116f80870e2d8fda1ad696..d8a2dce6e31d0386e2723942699a941c506fefee 100644
--- a/content/child/webthread_base.h
+++ b/content/child/webthread_base.h
@@ -16,8 +16,11 @@ namespace blink {
class WebTraceLocation;
}
-namespace content {
+namespace scheduler {
class SingleThreadIdleTaskRunner;
+}
+
+namespace content {
class CONTENT_EXPORT WebThreadBase : public blink::WebThread {
public:
@@ -48,7 +51,7 @@ class CONTENT_EXPORT WebThreadBase : public blink::WebThread {
// Returns the base::Bind-compatible task runner for posting idle tasks to
// this thread. Can be called from any thread.
- virtual SingleThreadIdleTaskRunner* IdleTaskRunner() const = 0;
+ virtual scheduler::SingleThreadIdleTaskRunner* IdleTaskRunner() const = 0;
protected:
class TaskObserverAdapter;

Powered by Google App Engine
This is Rietveld 408576698