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

Unified Diff: content/child/blink_platform_impl.h

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 | « content/child/BUILD.gn ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.h
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
index 1ee9106b8a559f85359d9bc295a204f55cf48da7..ed2839e9e37ffbf5ef88056dc566f4201d0a12eb 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -37,9 +37,11 @@ class MessageLoop;
class WaitableEvent;
}
+namespace blink {
namespace scheduler {
class WebThreadBase;
}
+}
namespace content {
class BackgroundSyncProvider;
@@ -136,11 +138,11 @@ class CONTENT_EXPORT BlinkPlatformImpl
// This class does *not* own the compositor thread. It is the responsibility
// of the caller to ensure that the compositor thread is cleared before it is
// destructed.
- void SetCompositorThread(scheduler::WebThreadBase* compositor_thread);
+ void SetCompositorThread(blink::scheduler::WebThreadBase* compositor_thread);
private:
void InternalInit();
- void WaitUntilWebThreadTLSUpdate(scheduler::WebThreadBase* thread);
+ void WaitUntilWebThreadTLSUpdate(blink::scheduler::WebThreadBase* thread);
void UpdateWebThreadTLS(blink::WebThread* thread, base::WaitableEvent* event);
bool IsMainThread() const;
@@ -159,7 +161,7 @@ class CONTENT_EXPORT BlinkPlatformImpl
scoped_refptr<PushDispatcher> push_dispatcher_;
std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
- scheduler::WebThreadBase* compositor_thread_;
+ blink::scheduler::WebThreadBase* compositor_thread_;
};
} // namespace content
« no previous file with comments | « content/child/BUILD.gn ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698