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

Side by Side Diff: components/devtools_service/public/interfaces/devtools_service.mojom

Issue 1164383002: Mandoline DevTools service: remote debugging protocol over HTTP/WebSocket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « components/devtools_service/devtools_registry_impl.cc ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 module devtools_service; 5 module devtools_service;
6 6
7 // The DevTools service exposes two interfaces: 7 // The DevTools service exposes two interfaces:
8 // - DevToolsCoordinator: Privileged interface used by the shell to setup the 8 // - DevToolsCoordinator: Privileged interface used by the shell to setup the
9 // service and perform other control operations. Other applications are not 9 // service and perform other control operations. Other applications are not
10 // able to request this interface. 10 // able to request this interface.
(...skipping 12 matching lines...) Expand all
23 interface DevToolsRegistry { 23 interface DevToolsRegistry {
24 // Registers a DevTools agent. 24 // Registers a DevTools agent.
25 RegisterAgent(DevToolsAgent agent); 25 RegisterAgent(DevToolsAgent agent);
26 }; 26 };
27 27
28 interface DevToolsAgent { 28 interface DevToolsAgent {
29 // Sets/resets a client to receive event notifications and responses for 29 // Sets/resets a client to receive event notifications and responses for
30 // DispatchProtocolMessage() calls. If a client doesn't want to receive 30 // DispatchProtocolMessage() calls. If a client doesn't want to receive
31 // messages anymore, it could simply close the underlying message pipe of 31 // messages anymore, it could simply close the underlying message pipe of
32 // |client|. 32 // |client|.
33 SetClient(DevToolsAgentClient client); 33 SetClient(DevToolsAgentClient client, string client_id);
34 34
35 // Sends a command (in remote debugging protocol JSON format) to the agent. 35 // Sends a command (in remote debugging protocol JSON format) to the agent.
36 DispatchProtocolMessage(string message); 36 DispatchProtocolMessage(string message);
37 }; 37 };
38 38
39 interface DevToolsAgentClient { 39 interface DevToolsAgentClient {
40 // Sends a notification or response message (in remote debugging protocol JSON 40 // Sends a notification or response message (in remote debugging protocol JSON
41 // format) to the client. 41 // format) to the client.
42 DispatchProtocolMessage(string message); 42 DispatchProtocolMessage(string message);
43 }; 43 };
OLDNEW
« no previous file with comments | « components/devtools_service/devtools_registry_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698