| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerScript.h
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerScript.h
|
| similarity index 81%
|
| rename from third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
|
| rename to third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerScript.h
|
| index 41d402c9b24d76ecba006a6f26f52cabe6c67be0..c64a7a86f0f1fcb29f5b04f01731c1c442878f0c 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.h
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerScript.h
|
| @@ -27,32 +27,32 @@
|
| * (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 ServiceWorkerThread_h
|
| -#define ServiceWorkerThread_h
|
| +#ifndef ServiceWorkerScript_h
|
| +#define ServiceWorkerScript_h
|
|
|
| #include "core/frame/csp/ContentSecurityPolicy.h"
|
| -#include "core/workers/WorkerThread.h"
|
| +#include "core/workers/WorkerScript.h"
|
| #include "modules/ModulesExport.h"
|
|
|
| namespace blink {
|
|
|
| -class WorkerThreadStartupData;
|
| +class WorkerScriptStartupData;
|
|
|
| -class MODULES_EXPORT ServiceWorkerThread final : public WorkerThread {
|
| +class MODULES_EXPORT ServiceWorkerScript final : public WorkerScript {
|
| public:
|
| - static PassRefPtr<ServiceWorkerThread> create(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| - ~ServiceWorkerThread() override;
|
| + static PassRefPtr<ServiceWorkerScript> create(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| + ~ServiceWorkerScript() override;
|
|
|
| protected:
|
| - PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) override;
|
| + PassRefPtrWillBeRawPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerScriptStartupData>) override;
|
| WebThreadSupportingGC& backingThread() override;
|
|
|
| private:
|
| - ServiceWorkerThread(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
| + ServiceWorkerScript(PassRefPtr<WorkerLoaderProxy>, WorkerReportingProxy&);
|
|
|
| OwnPtr<WebThreadSupportingGC> m_thread;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // ServiceWorkerThread_h
|
| +#endif // ServiceWorkerScript_h
|
|
|