summaryrefslogtreecommitdiff
path: root/Source/WebCore/workers/WorkerReportingProxy.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/workers/WorkerReportingProxy.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/workers/WorkerReportingProxy.h')
-rw-r--r--Source/WebCore/workers/WorkerReportingProxy.h12
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