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

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: Another GYP fix Created 4 years, 5 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/blink_platform_impl.h
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
index 2c15044e195fc5c8b4d9ce4077c7a6d9839f1873..476dcd538f6583b8f8232aa9dd4a68a3df2cf0c8 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;
@@ -138,11 +140,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;
@@ -162,7 +164,7 @@ class CONTENT_EXPORT BlinkPlatformImpl
std::unique_ptr<PermissionDispatcher> permission_client_;
std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
- scheduler::WebThreadBase* compositor_thread_;
+ blink::scheduler::WebThreadBase* compositor_thread_;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698