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

Side by Side Diff: third_party/WebKit/Source/devtools/services/devtools.js

Issue 2451363002: [DevTools] Move main target/connection to TargetManager. (Closed)
Patch Set: rebased Created 4 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var dispatcher = require("./dispatcher.js"); 5 var dispatcher = require("./dispatcher.js");
6 var terminal = require("./terminal.js"); 6 var terminal = require("./terminal.js");
7 7
8 var d = new dispatcher.Dispatcher(); 8 var d = new dispatcher.Dispatcher();
9 d.registerObject("Terminal", terminal.Terminal); 9 d.registerObject("Terminal", terminal.Terminal);
10 d.start(9022); 10 d.start(9022);
11 11
12 console.log("Run chrome as `chrome --devtools-flags='{\"service-backend\": \"ws: //localhost:9022/endpoint\"}'`"); 12 console.log("Run chrome as `chrome --devtools-flags='service-backend=ws://localh ost:9022/endpoint'`");
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698