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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerScript.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/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

Powered by Google App Engine
This is Rietveld 408576698