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

Unified Diff: components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/SignalingReceiverMock.java

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
Index: components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/SignalingReceiverMock.java
diff --git a/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/SignalingReceiverMock.java b/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/SignalingReceiverMock.java
deleted file mode 100644
index 6d1fb25d1f687eed83a54cd14e2116bf7922a0a8..0000000000000000000000000000000000000000
--- a/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/SignalingReceiverMock.java
+++ /dev/null
@@ -1,50 +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.
-
-package org.chromium.components.devtools_bridge;
-
-import org.chromium.base.annotations.SuppressFBWarnings;
-
-import java.util.List;
-
-/**
- * Mock of SignalingReceiver.
- */
-@SuppressFBWarnings("URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
-public class SignalingReceiverMock implements SignalingReceiver {
- public String sessionId;
- public String offer;
- public SessionBase.NegotiationCallback negotiationCallback;
- public SessionBase.IceExchangeCallback iceExchangeCallback;
-
- @Override
- public void startSession(
- String sessionId,
- RTCConfiguration config,
- String offer,
- SessionBase.NegotiationCallback callback) {
- this.sessionId = sessionId;
- this.offer = offer;
- this.negotiationCallback = callback;
- }
-
- @Override
- public void renegotiate(
- String sessionId,
- String offer,
- SessionBase.NegotiationCallback callback) {
- this.sessionId = sessionId;
- this.offer = offer;
- this.negotiationCallback = callback;
- }
-
- @Override
- public void iceExchange(
- String sessionId,
- List<String> clientCandidates,
- SessionBase.IceExchangeCallback callback) {
- this.sessionId = sessionId;
- this.iceExchangeCallback = callback;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698