summaryrefslogtreecommitdiff
path: root/src/inspector_agent.h
diff options
context:
space:
mode:
authorEugene Ostroukhov <eostroukhov@chromium.org>2016-06-09 18:00:08 -0700
committerAli Ijaz Sheikh <ofrobots@google.com>2016-09-02 13:47:10 -0700
commit609a265aebd89c93e5499363cc2b0bef9e24008b (patch)
tree334c2b762bfe1bcc50b921454229fdbed6bc7b1e /src/inspector_agent.h
parent9826a79f54f83cf67c258ffbe34bfca121394f35 (diff)
downloadandroid-node-v8-609a265aebd89c93e5499363cc2b0bef9e24008b.tar.gz
android-node-v8-609a265aebd89c93e5499363cc2b0bef9e24008b.tar.bz2
android-node-v8-609a265aebd89c93e5499363cc2b0bef9e24008b.zip
inspector: use script name for target title
Changes inspector integration to use Node.js script file name as target title (reported in JSON and shown in developer tools UIs). It will also report file:// URL for the script as some tools seem to use that field to open the script in the editor. PR-URL: https://github.com/nodejs/node/pull/8243 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r--src/inspector_agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_agent.h b/src/inspector_agent.h
index 43433fdc6e..3607cffba5 100644
--- a/src/inspector_agent.h
+++ b/src/inspector_agent.h
@@ -29,7 +29,7 @@ class Agent {
~Agent();
// Start the inspector agent thread
- bool Start(v8::Platform* platform, int port, bool wait);
+ bool Start(v8::Platform* platform, const char* path, int port, bool wait);
// Stop the inspector agent
void Stop();