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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h

Issue 1728803002: Rename WorkerThread to WorkerScript Base URL: https://chromium.googlesource.com/chromium/src.git@workerscript-controller
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
deleted file mode 100644
index 816f2b5c637027641b684f6e2ea3482d492c3aa6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThread.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CompositorWorkerThread_h
-#define CompositorWorkerThread_h
-
-#include "core/workers/WorkerThread.h"
-#include "modules/ModulesExport.h"
-
-namespace blink {
-
-class WorkerObjectProxy;
-
-// This class is overridden in unit-tests.
-class MODULES_EXPORT CompositorWorkerThread : public WorkerThread {
-public:
- static PassRefPtr<CompositorWorkerThread> create(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin);
- ~CompositorWorkerThread() override;
-
- WorkerObjectProxy& workerObjectProxy() const { return m_workerObjectProxy; }
-
- // Returns the shared backing thread for all CompositorWorkers.
- static WebThreadSupportingGC* sharedBackingThread();
-
- static bool hasThreadForTest();
- static bool hasIsolateForTest();
-
-protected:
- CompositorWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerObjectProxy&, double timeOrigin);
-
- // WorkerThread:
- PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
- WebThreadSupportingGC& backingThread() override;
- void didStartWorkerThread() override { }
- void willStopWorkerThread() override { }
- void initializeBackingThread() override;
- void shutdownBackingThread() override;
- v8::Isolate* initializeIsolate() override;
- void willDestroyIsolate() override;
- void destroyIsolate() override;
- void terminateV8Execution() override;
-
-private:
- WorkerObjectProxy& m_workerObjectProxy;
- double m_timeOrigin;
-};
-
-} // namespace blink
-
-#endif // CompositorWorkerThread_h

Powered by Google App Engine
This is Rietveld 408576698