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

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

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

Powered by Google App Engine
This is Rietveld 408576698