| Index: Source/core/workers/WorkerReportingProxy.h
|
| diff --git a/Source/core/workers/WorkerReportingProxy.h b/Source/core/workers/WorkerReportingProxy.h
|
| index 52f1fbeb11aa568e287b0918d8fa5ac79e6d69ef..a1006e54a846b8417bd395b690eb864d6fe22eb6 100644
|
| --- a/Source/core/workers/WorkerReportingProxy.h
|
| +++ b/Source/core/workers/WorkerReportingProxy.h
|
| @@ -32,10 +32,14 @@
|
| #define WorkerReportingProxy_h
|
|
|
| #include "core/frame/ConsoleTypes.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| +#include "wtf/PassOwnPtr.h"
|
| +#include "wtf/PassRefPtr.h"
|
|
|
| namespace WebCore {
|
|
|
| +class ConsoleMessage;
|
| class WorkerGlobalScope;
|
|
|
| // APIs used by workers to report console activity.
|
| @@ -43,7 +47,7 @@ class WorkerReportingProxy {
|
| public:
|
| virtual ~WorkerReportingProxy() { }
|
|
|
| - virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) = 0;
|
| + virtual void reportException(PassRefPtrWillBeRawPtr<ConsoleMessage>) = 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;
|
|
|