summaryrefslogtreecommitdiffstats
path: root/components/devtools_service/public
diff options
context:
space:
mode:
Diffstat (limited to 'components/devtools_service/public')
-rw-r--r--components/devtools_service/public/cpp/BUILD.gn10
-rw-r--r--components/devtools_service/public/cpp/switches.cc12
-rw-r--r--components/devtools_service/public/cpp/switches.h16
-rw-r--r--components/devtools_service/public/interfaces/BUILD.gn11
-rw-r--r--components/devtools_service/public/interfaces/devtools_service.mojom48
5 files changed, 0 insertions, 97 deletions
diff --git a/components/devtools_service/public/cpp/BUILD.gn b/components/devtools_service/public/cpp/BUILD.gn
deleted file mode 100644
index 2f8933b..0000000
--- a/components/devtools_service/public/cpp/BUILD.gn
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-source_set("cpp") {
- sources = [
- "switches.cc",
- "switches.h",
- ]
-}
diff --git a/components/devtools_service/public/cpp/switches.cc b/components/devtools_service/public/cpp/switches.cc
deleted file mode 100644
index 0a1d8ea..0000000
--- a/components/devtools_service/public/cpp/switches.cc
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/devtools_service/public/cpp/switches.h"
-
-namespace devtools_service {
-
-// Enables remote debug over HTTP on the specified port.
-const char kRemoteDebuggingPort[] = "remote-debugging-port";
-
-} // namespace devtools_service
diff --git a/components/devtools_service/public/cpp/switches.h b/components/devtools_service/public/cpp/switches.h
deleted file mode 100644
index 65c48e9..0000000
--- a/components/devtools_service/public/cpp/switches.h
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_DEVTOOLS_SERVICE_PUBLIC_CPP_SWITCHES_H_
-#define COMPONENTS_DEVTOOLS_SERVICE_PUBLIC_CPP_SWITCHES_H_
-
-namespace devtools_service {
-
-// All switches in alphabetical order. The switches should be documented
-// alongside the definition of their values in the .cc file.
-extern const char kRemoteDebuggingPort[];
-
-} // namespace devtools_service
-
-#endif // COMPONENTS_DEVTOOLS_SERVICE_PUBLIC_CPP_SWITCHES_H_
diff --git a/components/devtools_service/public/interfaces/BUILD.gn b/components/devtools_service/public/interfaces/BUILD.gn
deleted file mode 100644
index f3dd804..0000000
--- a/components/devtools_service/public/interfaces/BUILD.gn
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import("//mojo/public/tools/bindings/mojom.gni")
-
-mojom("interfaces") {
- sources = [
- "devtools_service.mojom",
- ]
-}
diff --git a/components/devtools_service/public/interfaces/devtools_service.mojom b/components/devtools_service/public/interfaces/devtools_service.mojom
deleted file mode 100644
index 83d4750..0000000
--- a/components/devtools_service/public/interfaces/devtools_service.mojom
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module devtools_service;
-
-// The DevTools service exposes two interfaces:
-// - DevToolsCoordinator: Privileged interface used by the shell to setup the
-// service and perform other control operations. Other applications are not
-// able to request this interface.
-// - DevToolsRegistry: Interface that DevTools agents (e.g., Web page renderers)
-// use to register themselves.
-//
-// DevTools agents need to implement the DevToolsAgent interface and register
-// themselves in order to receive DevTools commands from the DevTools service.
-
-interface DevToolsCoordinator {
- // Initializes the DevTools service. An HTTP server will be run on the
- // specified port and speak the Chrome remote debugging protocol.
- Initialize(uint16 remote_debugging_port);
-};
-
-interface DevToolsRegistry {
- // Registers a DevTools agent. |id| is the agent ID, which is used to identify
- // the agent when the service and its clients communicate using the Chrome
- // remote debugging protocol.
- RegisterAgent(string id, DevToolsAgent agent);
-};
-
-interface DevToolsAgent {
- // Sets/resets a client to receive event notifications and responses for
- // DispatchProtocolMessage() calls. If a client doesn't want to receive
- // messages anymore, it could simply close the underlying message pipe of
- // |client|.
- SetClient(DevToolsAgentClient client);
-
- // Sends a command (in remote debugging protocol JSON format) to the agent.
- DispatchProtocolMessage(string message);
-};
-
-interface DevToolsAgentClient {
- // Sends a notification or response message to the client. |message| is in
- // remote debugging protocol JSON format. |call_id| is the "id" field of the
- // message or 0 if such a field doesn't exist. If not empty or null, |state|
- // is the state of the DevTools agent at the point when generating this
- // message.
- DispatchProtocolMessage(int32 call_id, string message, string? state);
-};