| Index: Source/core/workers/WorkerReportingProxy.h
|
| diff --git a/Source/core/workers/WorkerReportingProxy.h b/Source/core/workers/WorkerReportingProxy.h
|
| index 75b1389113316f982a4e45b0995b6d69600bb28b..0d0ccb027458947d99d880c5c7de0fa3d196ff24 100644
|
| --- a/Source/core/workers/WorkerReportingProxy.h
|
| +++ b/Source/core/workers/WorkerReportingProxy.h
|
| @@ -36,25 +36,27 @@
|
|
|
| namespace WebCore {
|
|
|
| - // APIs used by workers to report console activity.
|
| - class WorkerReportingProxy {
|
| - public:
|
| - virtual ~WorkerReportingProxy() {}
|
| +class WorkerGlobalScope;
|
|
|
| - virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0;
|
| - virtual void reportConsoleMessage(MessageSource, MessageLevel, const String& message, int lineNumber, const String& sourceURL) = 0;
|
| - virtual void postMessageToPageInspector(const String&) = 0;
|
| - virtual void updateInspectorStateCookie(const String&) = 0;
|
| +// APIs used by workers to report console activity.
|
| +class WorkerReportingProxy {
|
| +public:
|
| + virtual ~WorkerReportingProxy() { }
|
|
|
| - // Invoked when the new WorkerGlobalScope is started.
|
| - virtual void workerGlobalScopeStarted() = 0;
|
| + virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0;
|
| + virtual void reportConsoleMessage(MessageSource, MessageLevel, const String& message, int lineNumber, const String& sourceURL) = 0;
|
| + virtual void postMessageToPageInspector(const String&) = 0;
|
| + virtual void updateInspectorStateCookie(const String&) = 0;
|
|
|
| - // Invoked when close() is invoked on the worker context.
|
| - virtual void workerGlobalScopeClosed() = 0;
|
| + // Invoked when the new WorkerGlobalScope is started.
|
| + virtual void workerGlobalScopeStarted(WorkerGlobalScope*) = 0;
|
|
|
| - // Invoked when the thread has stopped.
|
| - virtual void workerGlobalScopeDestroyed() = 0;
|
| - };
|
| + // Invoked when close() is invoked on the worker context.
|
| + virtual void workerGlobalScopeClosed() = 0;
|
| +
|
| + // Invoked when the thread has stopped.
|
| + virtual void workerGlobalScopeDestroyed() = 0;
|
| +};
|
|
|
| } // namespace WebCore
|
|
|
|
|