| Index: extensions/browser/api/cast_channel/cast_test_util.cc
|
| diff --git a/extensions/browser/api/cast_channel/cast_test_util.cc b/extensions/browser/api/cast_channel/cast_test_util.cc
|
| deleted file mode 100644
|
| index d5406b0f9fbc39a9ea860fb9aa7021398563e8db..0000000000000000000000000000000000000000
|
| --- a/extensions/browser/api/cast_channel/cast_test_util.cc
|
| +++ /dev/null
|
| @@ -1,47 +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.
|
| -
|
| -#include "extensions/browser/api/cast_channel/cast_test_util.h"
|
| -
|
| -#include <utility>
|
| -
|
| -#include "net/base/ip_address.h"
|
| -
|
| -namespace extensions {
|
| -namespace api {
|
| -namespace cast_channel {
|
| -
|
| -const char kTestExtensionId[] = "ddchlicdkolnonkihahngkmmmjnjlkkf";
|
| -
|
| -MockCastTransport::MockCastTransport() {
|
| -}
|
| -MockCastTransport::~MockCastTransport() {
|
| -}
|
| -
|
| -CastTransport::Delegate* MockCastTransport::current_delegate() const {
|
| - CHECK(delegate_);
|
| - return delegate_.get();
|
| -}
|
| -
|
| -void MockCastTransport::SetReadDelegate(
|
| - std::unique_ptr<CastTransport::Delegate> delegate) {
|
| - delegate_ = std::move(delegate);
|
| -}
|
| -
|
| -MockCastTransportDelegate::MockCastTransportDelegate() {
|
| -}
|
| -MockCastTransportDelegate::~MockCastTransportDelegate() {
|
| -}
|
| -
|
| -MockCastSocket::MockCastSocket() : mock_transport_(new MockCastTransport()) {}
|
| -MockCastSocket::~MockCastSocket() {
|
| -}
|
| -
|
| -net::IPEndPoint CreateIPEndPointForTest() {
|
| - return net::IPEndPoint(net::IPAddress(192, 168, 1, 1), 8009);
|
| -}
|
| -
|
| -} // namespace cast_channel
|
| -} // namespace api
|
| -} // namespace extensions
|
|
|