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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerScript.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/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

Powered by Google App Engine
This is Rietveld 408576698