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

Unified Diff: components/devtools_bridge/abstract_peer_connection.h

Issue 1142463003: Remove devtools_bridge component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/devtools_bridge/abstract_data_channel.h ('k') | components/devtools_bridge/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/devtools_bridge/abstract_peer_connection.h
diff --git a/components/devtools_bridge/abstract_peer_connection.h b/components/devtools_bridge/abstract_peer_connection.h
deleted file mode 100644
index 9fd04a8774e9e00b0127eda60fd816e890b956bc..0000000000000000000000000000000000000000
--- a/components/devtools_bridge/abstract_peer_connection.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2014 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_BRIDGE_ABSTRACT_PEER_CONNECTION_H_
-#define COMPONENTS_DEVTOOLS_BRIDGE_ABSTRACT_PEER_CONNECTION_H_
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-
-namespace devtools_bridge {
-
-class AbstractDataChannel;
-
-/**
- * WebRTC PeerConnection adapter for DevTools bridge.
- */
-class AbstractPeerConnection {
- public:
- /**
- * Delegate is called on signaling thread.
- */
- class Delegate {
- public:
- Delegate() {}
- virtual ~Delegate() {}
-
- virtual void OnIceConnectionChange(bool connected) = 0;
- virtual void OnIceCandidate(
- const std::string& sdp_mid,
- int sdp_mline_index,
- const std::string& sdp) = 0;
- virtual void OnLocalOfferCreatedAndSetSet(
- const std::string& description) = 0;
- virtual void OnLocalAnswerCreatedAndSetSet(
- const std::string& description) = 0;
- virtual void OnRemoteDescriptionSet() = 0;
- virtual void OnFailure(const std::string& description) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(Delegate);
- };
-
- AbstractPeerConnection() {}
- virtual ~AbstractPeerConnection() {}
-
- virtual void CreateAndSetLocalOffer() = 0;
- virtual void CreateAndSetLocalAnswer() = 0;
- virtual void SetRemoteOffer(const std::string& description) = 0;
- virtual void SetRemoteAnswer(const std::string& description) = 0;
- virtual void AddIceCandidate(
- const std::string& sdp_mid,
- int sdp_mline_index,
- const std::string& sdp) = 0;
-
- virtual scoped_ptr<AbstractDataChannel> CreateDataChannel(int channelId) = 0;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(AbstractPeerConnection);
-};
-
-} // namespace devtools_bridge
-
-#endif // COMPONENTS_DEVTOOLS_BRIDGE_ABSTRACT_PEER_CONNECTION_H_
« no previous file with comments | « components/devtools_bridge/abstract_data_channel.h ('k') | components/devtools_bridge/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698