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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js

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/devtools/front_end/sdk/DebuggerModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
index b64facf034861b7087cb61828d5597d980dd8aa1..efe336d14bc9406b3f61329d6def9061729c3ba4 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
@@ -404,6 +404,16 @@ WebInspector.DebuggerModel.prototype = {
},
/**
+ * @param {string} scriptId
+ * @param {string} sourceMapURL
+ * @param {string} content
+ */
+ setSourceMapContent: function(scriptId, sourceMapURL, content)
+ {
+ this._agent.setSourceMapContent(scriptId, sourceMapURL, content);
+ },
+
+ /**
* @param {!DebuggerAgent.BreakpointId} breakpointId
* @param {!DebuggerAgent.Location} location
*/

Powered by Google App Engine
This is Rietveld 408576698