| Index: third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
|
| index eba4ea3c83eadeabd4ab90c8a9566bc3e7090ac0..ea14f9233ef390a65e86aa706ad9e86c32849ae5 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h
|
| @@ -34,10 +34,12 @@
|
| #include "core/CoreExport.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| +#include "wtf/PassOwnPtr.h"
|
|
|
| namespace blink {
|
|
|
| class ConsoleMessage;
|
| +class SourceLocation;
|
| class WorkerGlobalScope;
|
|
|
| // APIs used by workers to report console and worker activity.
|
| @@ -45,7 +47,7 @@ class CORE_EXPORT WorkerReportingProxy {
|
| public:
|
| virtual ~WorkerReportingProxy() { }
|
|
|
| - virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL, int exceptionId) = 0;
|
| + virtual void reportException(const String& errorMessage, PassOwnPtr<SourceLocation>) = 0;
|
| virtual void reportConsoleMessage(ConsoleMessage*) = 0;
|
| virtual void postMessageToPageInspector(const String&) = 0;
|
| virtual void postWorkerConsoleAgentEnabled() = 0;
|
|
|