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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp

Issue 2811993007: Worker: Remove cross-thread PostTask functions from WorkerLoaderProxy (Closed)
Patch Set: address review comments Created 3 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: third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp b/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
index aff8ef336ac3d0012bcb3b0a06d283a57774c78f..f141dab2f92a5c882dd4a1e72c1f1fbabab0a211 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
@@ -67,7 +67,7 @@ class WorkerThreadTest : public ::testing::Test {
WorkerThreadTest() {}
void SetUp() override {
- loader_proxy_provider_ = WTF::MakeUnique<MockWorkerLoaderProxyProvider>();
+ loader_proxy_provider_ = WTF::MakeUnique<WorkerLoaderProxyProvider>();
reporting_proxy_ = WTF::MakeUnique<MockWorkerReportingProxy>();
security_origin_ =
SecurityOrigin::Create(KURL(kParsedURLString, "http://fake.url/"));
@@ -143,7 +143,7 @@ class WorkerThreadTest : public ::testing::Test {
ExitCode GetExitCode() { return worker_thread_->GetExitCodeForTesting(); }
RefPtr<SecurityOrigin> security_origin_;
- std::unique_ptr<MockWorkerLoaderProxyProvider> loader_proxy_provider_;
+ std::unique_ptr<WorkerLoaderProxyProvider> loader_proxy_provider_;
std::unique_ptr<MockWorkerReportingProxy> reporting_proxy_;
std::unique_ptr<WorkerThreadForTest> worker_thread_;
Persistent<MockWorkerThreadLifecycleObserver> lifecycle_observer_;

Powered by Google App Engine
This is Rietveld 408576698