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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h

Issue 2151273003: [DevTools] Move browser logging from Console domain to Log domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internals-method
Patch Set: protocol improvements Created 4 years, 5 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: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
index 53a1a212e523e2a6ed93ea1cb4b7e4c0b4763bdd..4e64e97bc445939dcffb9270ffaa8bfca8dd6fca 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
@@ -47,6 +47,7 @@
namespace blink {
class ConsoleMessage;
+class ConsoleMessageStorage;
class ExceptionState;
class V8AbstractEventListener;
class WorkerClients;
@@ -131,6 +132,7 @@ public:
WorkerOrWorkletScriptController* scriptController() final { return m_scriptController.get(); }
WorkerInspectorController* workerInspectorController() { return m_workerInspectorController.get(); }
WorkerClients* clients() { return m_workerClients.get(); }
+ ConsoleMessageStorage* consoleMessageStorage() { return m_consoleMessageStorage.get(); }
DECLARE_VIRTUAL_TRACE();
@@ -180,6 +182,8 @@ private:
const double m_timeOrigin;
+ Member<ConsoleMessageStorage> m_consoleMessageStorage;
+
HeapListHashSet<Member<V8AbstractEventListener>> m_eventListeners;
};

Powered by Google App Engine
This is Rietveld 408576698