| Index: third_party/WebKit/Source/core/workers/SharedWorkerScript.h
|
| diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerThread.h b/third_party/WebKit/Source/core/workers/SharedWorkerScript.h
|
| similarity index 82%
|
| rename from third_party/WebKit/Source/core/workers/SharedWorkerThread.h
|
| rename to third_party/WebKit/Source/core/workers/SharedWorkerScript.h
|
| index 9b52287459452f877626bd775c27bc34fe7547d5..549a992ee52b7d41816559f86a35ec7470b0020d 100644
|
| --- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.h
|
| +++ b/third_party/WebKit/Source/core/workers/SharedWorkerScript.h
|
| @@ -27,28 +27,28 @@
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
| -#ifndef SharedWorkerThread_h
|
| -#define SharedWorkerThread_h
|
| +#ifndef SharedWorkerScript_h
|
| +#define SharedWorkerScript_h
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/frame/csp/ContentSecurityPolicy.h"
|
| -#include "core/workers/WorkerThread.h"
|
| +#include "core/workers/WorkerScript.h"
|
|
|
| namespace blink {
|
|
|
| -class WorkerThreadStartupData;
|
| +class WorkerScriptStartupData;
|
|
|
| -class CORE_EXPORT SharedWorkerThread : public WorkerThread {
|
| +class CORE_EXPORT SharedWorkerScript : public WorkerScript {
|
| public:
|
| - static PassRefPtr<SharedWorkerThread> create(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| - ~SharedWorkerThread() override;
|
| + static PassRefPtr<SharedWorkerScript> create(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| + ~SharedWorkerScript() override;
|
|
|
| protected:
|
| - PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
|
| + PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerScriptStartupData>) override;
|
| WebThreadSupportingGC& backingThread() override;
|
|
|
| private:
|
| - SharedWorkerThread(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| + SharedWorkerScript(const String& name, PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
|
|
| String m_name;
|
| OwnPtr<WebThreadSupportingGC> m_thread;
|
| @@ -56,4 +56,4 @@ private:
|
|
|
| } // namespace blink
|
|
|
| -#endif // SharedWorkerThread_h
|
| +#endif // SharedWorkerScript_h
|
|
|