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

Unified Diff: content/test/test_blink_web_unit_test_support.h

Issue 959803003: web-threads: Create a single instance of WebThread for each blink thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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/webthread_impl.cc ('k') | content/test/test_blink_web_unit_test_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_blink_web_unit_test_support.h
diff --git a/content/test/test_blink_web_unit_test_support.h b/content/test/test_blink_web_unit_test_support.h
index cbea4c5e72faeb7da753c8fad80c7b10098c45bc..15712718208c0e6514a5c1e42f50392373a4a108 100644
--- a/content/test/test_blink_web_unit_test_support.h
+++ b/content/test/test_blink_web_unit_test_support.h
@@ -86,6 +86,7 @@ class TestBlinkWebUnitTestSupport : public blink::WebUnitTestSupport,
virtual bool getBlobItems(const blink::WebString& uuid,
blink::WebVector<blink::WebBlobData::Item*>* items);
virtual blink::WebScheduler* scheduler();
+ virtual blink::WebThread* currentThread();
private:
MockWebBlobRegistryImpl blob_registry_;
@@ -97,6 +98,7 @@ class TestBlinkWebUnitTestSupport : public blink::WebUnitTestSupport,
cc_blink::WebCompositorSupportImpl compositor_support_;
scoped_ptr<RendererScheduler> renderer_scheduler_;
scoped_ptr<WebSchedulerImpl> web_scheduler_;
+ scoped_ptr<blink::WebThread> web_thread_;
#if defined(OS_WIN) || defined(OS_MACOSX)
blink::WebThemeEngine* active_theme_engine_;
« no previous file with comments | « content/child/webthread_impl.cc ('k') | content/test/test_blink_web_unit_test_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698