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

Unified Diff: Source/devtools/front_end/Runtime.js

Issue 727773002: [DevTools] Allow embedding remote frontend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | Source/devtools/front_end/devtools.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Runtime.js
diff --git a/Source/devtools/front_end/Runtime.js b/Source/devtools/front_end/Runtime.js
index 4003c80a197dfad1c9155805dc35fa332a769c4e..382b7c497ac5a1476567d7ea4a6285786608a877 100644
--- a/Source/devtools/front_end/Runtime.js
+++ b/Source/devtools/front_end/Runtime.js
@@ -278,6 +278,21 @@ Runtime.queryParam = function(name)
}
/**
+ * @param {!Array.<string>} banned
+ * @return {string}
+ */
+Runtime.constructQueryParams = function(banned)
+{
+ var params = [];
+ for (var key in Runtime._queryParamsObject) {
+ if (!key || banned.indexOf(key) !== -1)
+ continue;
+ params.push(key + "=" + Runtime._queryParamsObject[key]);
+ }
+ return params.length ? "?" + params.join("&") : "";
+}
+
+/**
* @return {!Object}
*/
Runtime._experimentsSetting = function()
« no previous file with comments | « no previous file | Source/devtools/front_end/devtools.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698