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

Unified Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScopeProxyProvider.h

Issue 1888703002: Worker: Rename worker components to clarify what they work for (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing files Created 4 years, 8 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/DedicatedWorkerGlobalScopeProxyProvider.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScopeProxyProvider.h b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScopeProxyProvider.h
similarity index 72%
rename from third_party/WebKit/Source/core/workers/WorkerGlobalScopeProxyProvider.h
rename to third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScopeProxyProvider.h
index a31cdb3bb0dd3a79d2b849629df7922a468d5b37..ad943bdcebf82337c9112e9f6c4bcf3bb493173a 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScopeProxyProvider.h
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScopeProxyProvider.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WorkerGlobalScopeProxyProvider_h
-#define WorkerGlobalScopeProxyProvider_h
+#ifndef DedicatedWorkerGlobalScopeProxyProvider_h
+#define DedicatedWorkerGlobalScopeProxyProvider_h
#include "core/CoreExport.h"
#include "core/page/Page.h"
@@ -39,24 +39,24 @@
namespace blink {
+class InProcessWorkerGlobalScopeProxy;
class Page;
-class WorkerGlobalScopeProxy;
class Worker;
-class WorkerGlobalScopeProxyProvider : public Supplement<Page> {
- WTF_MAKE_NONCOPYABLE(WorkerGlobalScopeProxyProvider);
+class DedicatedWorkerGlobalScopeProxyProvider : public Supplement<Page> {
+ WTF_MAKE_NONCOPYABLE(DedicatedWorkerGlobalScopeProxyProvider);
public:
- WorkerGlobalScopeProxyProvider() { }
- virtual ~WorkerGlobalScopeProxyProvider() { }
+ DedicatedWorkerGlobalScopeProxyProvider() { }
+ virtual ~DedicatedWorkerGlobalScopeProxyProvider() { }
- virtual WorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(Worker*) = 0;
+ virtual InProcessWorkerGlobalScopeProxy* createWorkerGlobalScopeProxy(Worker*) = 0;
- static WorkerGlobalScopeProxyProvider* from(Page&);
+ static DedicatedWorkerGlobalScopeProxyProvider* from(Page&);
static const char* supplementName();
};
-CORE_EXPORT void provideWorkerGlobalScopeProxyProviderTo(Page&, WorkerGlobalScopeProxyProvider*);
+CORE_EXPORT void provideDedicatedWorkerGlobalScopeProxyProviderTo(Page&, DedicatedWorkerGlobalScopeProxyProvider*);
} // namespace blink
-#endif // WorkerGlobalScopeProxyProvider_h
+#endif // DedicatedWorkerGlobalScopeProxyProvider_h

Powered by Google App Engine
This is Rietveld 408576698