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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.h

Issue 1583383003: [DevTools] Send source map content from frontend to backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blackbox-inline-source-map
Patch Set: Created 4 years, 11 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/v8/V8DebuggerAgentImpl.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.h b/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.h
index 8f6bbcd01985488ce89ce6281280734aee064973..778391d83ff58676ca98f1c58a006f6a23972b4f 100644
--- a/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.h
+++ b/third_party/WebKit/Source/core/inspector/v8/V8DebuggerAgentImpl.h
@@ -12,6 +12,7 @@
#include "core/inspector/InspectorBaseAgent.h"
#include "core/inspector/PromiseTracker.h"
#include "core/inspector/v8/ScriptBreakpoint.h"
+#include "core/inspector/v8/SourceMap.h"
#include "core/inspector/v8/V8DebuggerAgent.h"
#include "core/inspector/v8/V8DebuggerImpl.h"
#include "platform/heap/Handle.h"
@@ -114,6 +115,7 @@ public:
void flushAsyncOperationEvents(ErrorString*);
void setAsyncOperationBreakpoint(ErrorString*, int operationId);
void removeAsyncOperationBreakpoint(ErrorString*, int operationId);
+ void setSourceMapContent(ErrorString*, const String& scriptId, const String& content);
void schedulePauseOnNextStatement(InspectorFrontend::Debugger::Reason::Enum breakReason, PassRefPtr<JSONObject> data) override;
void cancelPauseOnNextStatement() override;
@@ -246,6 +248,7 @@ private:
bool m_pendingTraceAsyncOperationCompleted;
bool m_startingStepIntoAsync;
V8GlobalValueMap<String, v8::Script, v8::kNotWeak> m_compiledScripts;
+ HashMap<String, OwnPtr<SourceMap>> m_sourceMaps;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698