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

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

Issue 2481843003: Worker: Add WorkerOrWorkletGlobalScope::thread() interface (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.h
index e836b8616bec23dd1a2dfbb55140066c1608376c..42150e752836597170752ba6d5e91b451fb99a24 100644
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.h
@@ -40,6 +40,7 @@
namespace blink {
class DedicatedWorkerThread;
+class InProcessWorkerObjectProxy;
class WorkerThreadStartupData;
class CORE_EXPORT DedicatedWorkerGlobalScope final : public WorkerGlobalScope {
@@ -68,8 +69,6 @@ class CORE_EXPORT DedicatedWorkerGlobalScope final : public WorkerGlobalScope {
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
- DedicatedWorkerThread* thread() const;
-
DECLARE_VIRTUAL_TRACE();
private:
@@ -81,6 +80,8 @@ class CORE_EXPORT DedicatedWorkerGlobalScope final : public WorkerGlobalScope {
double timeOrigin,
std::unique_ptr<SecurityOrigin::PrivilegeData>,
WorkerClients*);
+
+ InProcessWorkerObjectProxy& workerObjectProxy() const;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698