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

Unified Diff: third_party/WebKit/Source/core/inspector/ConsoleMessage.h

Issue 1774323002: [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed leaks Created 4 years, 9 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/inspector/ConsoleMessage.h
diff --git a/third_party/WebKit/Source/core/inspector/ConsoleMessage.h b/third_party/WebKit/Source/core/inspector/ConsoleMessage.h
index 7f8213e354d6642f7e6896122b003a1fe93824a7..ab74fbe2fb5ba7d51cd0ff28c29224dca5da5fb0 100644
--- a/third_party/WebKit/Source/core/inspector/ConsoleMessage.h
+++ b/third_party/WebKit/Source/core/inspector/ConsoleMessage.h
@@ -20,7 +20,7 @@ namespace blink {
class ScriptArguments;
class ScriptCallStack;
class ScriptState;
-class WorkerGlobalScopeProxy;
+class WorkerInspectorProxy;
class CORE_EXPORT ConsoleMessage final: public RefCountedWillBeGarbageCollectedFinalized<ConsoleMessage> {
public:
@@ -48,8 +48,8 @@ public:
void setRequestIdentifier(unsigned long);
double timestamp() const;
void setTimestamp(double);
- WorkerGlobalScopeProxy* workerGlobalScopeProxy() { return m_workerProxy; }
- void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerProxy = proxy; }
+ WorkerInspectorProxy* workerInspectorProxy() { return m_workerProxy; }
+ void setWorkerInspectorProxy(WorkerInspectorProxy* proxy) { m_workerProxy = proxy; }
unsigned assignMessageId();
unsigned messageId() const { return m_messageId; }
unsigned relatedMessageId() const { return m_relatedMessageId; }
@@ -83,7 +83,7 @@ private:
RefPtrWillBeMember<ScriptArguments> m_scriptArguments;
unsigned long m_requestIdentifier;
double m_timestamp;
- WorkerGlobalScopeProxy* m_workerProxy;
+ RawPtrWillBeMember<WorkerInspectorProxy> m_workerProxy;
unsigned m_messageId;
unsigned m_relatedMessageId;
};
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameConsole.cpp ('k') | third_party/WebKit/Source/core/inspector/ConsoleMessage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698