| Index: Source/core/workers/WorkerObjectProxy.h
|
| diff --git a/Source/core/workers/WorkerObjectProxy.h b/Source/core/workers/WorkerObjectProxy.h
|
| index 75902dd7b117c00d3701645e0a2b96ac1224ced0..668eb7fadcdaa1e41f510f48a42dc3b9e6486d1f 100644
|
| --- a/Source/core/workers/WorkerObjectProxy.h
|
| +++ b/Source/core/workers/WorkerObjectProxy.h
|
| @@ -59,6 +59,12 @@ public:
|
| void confirmMessageFromWorkerObject(bool hasPendingActivity);
|
| void reportPendingActivity(bool hasPendingActivity);
|
|
|
| + bool isWorkerGlobalScope() const;
|
| + bool isSharedWorkerGlobalScope() const;
|
| + bool isDedicatedWorkerGlobalScope() const;
|
| + bool isServiceWorkerGlobalScope() const;
|
| + bool isUIWorkerObjectProxy() const;
|
| +
|
| // WorkerReportingProxy overrides.
|
| virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) override;
|
| virtual void reportConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) override;
|
|
|