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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h

Issue 2840473002: Worker: Remove WorkerLoaderProxy for clean-up (Closed)
Patch Set: clean up Created 3 years, 7 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/modules/serviceworkers/ServiceWorkerThread.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
index 4b50fbb1999bf110ee7581b77194532fd8c39f31..fc438b2ce820717010e307673fab57d6ef3fbb99 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
@@ -41,9 +41,7 @@ class WorkerThreadStartupData;
class MODULES_EXPORT ServiceWorkerThread final : public WorkerThread {
public:
- static std::unique_ptr<ServiceWorkerThread> Create(
- PassRefPtr<WorkerLoaderProxy>,
- WorkerReportingProxy&);
+ ServiceWorkerThread(ThreadableLoadingContext*, WorkerReportingProxy&);
~ServiceWorkerThread() override;
WorkerBackingThread& GetWorkerBackingThread() override {
@@ -56,7 +54,6 @@ class MODULES_EXPORT ServiceWorkerThread final : public WorkerThread {
std::unique_ptr<WorkerThreadStartupData>) override;
private:
- ServiceWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
std::unique_ptr<WorkerBackingThread> worker_backing_thread_;
};

Powered by Google App Engine
This is Rietveld 408576698