Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2295)

Unified Diff: Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 419203004: DevTools: wrapping arguments addConsoleMessage in ConsoleMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@wrap-not-all-console-args
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/ServiceWorkerGlobalScopeProxy.h
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.h b/Source/web/ServiceWorkerGlobalScopeProxy.h
index 223ce1b482285921466ca97b119f2611a90b0e22..2962610ee8461a7731459cd6ce243e833a6767d4 100644
--- a/Source/web/ServiceWorkerGlobalScopeProxy.h
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.h
@@ -31,6 +31,7 @@
#ifndef ServiceWorkerGlobalScopeProxy_h
#define ServiceWorkerGlobalScopeProxy_h
+#include "core/inspector/ConsoleMessage.h"
vsevik 2014/08/08 13:06:29 ditto
kozyatinskiy1 2014/08/08 14:58:09 Done.
#include "core/workers/WorkerReportingProxy.h"
#include "public/platform/WebString.h"
#include "public/web/WebServiceWorkerContextProxy.h"
@@ -77,7 +78,7 @@ public:
// WorkerReportingProxy overrides:
virtual void reportException(const String& errorMessage, int lineNumber, int columnNumber, const String& sourceURL) OVERRIDE;
- virtual void reportConsoleMessage(blink::MessageSource, blink::MessageLevel, const String& message, int lineNumber, const String& sourceURL) OVERRIDE;
+ virtual void reportConsoleMessage(PassRefPtr<blink::ConsoleMessage>) OVERRIDE;
virtual void postMessageToPageInspector(const String&) OVERRIDE;
virtual void updateInspectorStateCookie(const String&) OVERRIDE;
virtual void workerGlobalScopeStarted(blink::WorkerGlobalScope*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698