diff options
Diffstat (limited to 'Source/WebCore/workers/WorkerReportingProxy.h')
-rw-r--r-- | Source/WebCore/workers/WorkerReportingProxy.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Source/WebCore/workers/WorkerReportingProxy.h b/Source/WebCore/workers/WorkerReportingProxy.h index 61a6611e2..68519cd7b 100644 --- a/Source/WebCore/workers/WorkerReportingProxy.h +++ b/Source/WebCore/workers/WorkerReportingProxy.h @@ -28,11 +28,9 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef WorkerReportingProxy_h -#define WorkerReportingProxy_h +#pragma once -#include "ConsoleTypes.h" -#include <wtf/Forward.h> +#include <runtime/ConsoleTypes.h> namespace WebCore { @@ -43,10 +41,8 @@ namespace WebCore { virtual void postExceptionToWorkerObject(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0; - virtual void postConsoleMessageToWorkerObject(MessageSource, MessageLevel, const String& message, int lineNumber, int columnNumber, const String& sourceURL) = 0; -#if ENABLE(INSPECTOR) virtual void postMessageToPageInspector(const String&) = 0; -#endif + // Invoked when close() is invoked on the worker context. virtual void workerGlobalScopeClosed() = 0; @@ -55,5 +51,3 @@ namespace WebCore { }; } // namespace WebCore - -#endif // WorkerReportingProxy_h |