| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "extensions/browser/api/cast_channel/cast_test_util.h" | 5 #include "extensions/browser/api/cast_channel/cast_test_util.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 namespace core_api { | 8 namespace api { |
| 9 namespace cast_channel { | 9 namespace cast_channel { |
| 10 | 10 |
| 11 const char kTestExtensionId[] = "ddchlicdkolnonkihahngkmmmjnjlkkf"; | 11 const char kTestExtensionId[] = "ddchlicdkolnonkihahngkmmmjnjlkkf"; |
| 12 | 12 |
| 13 MockCastTransport::MockCastTransport() { | 13 MockCastTransport::MockCastTransport() { |
| 14 } | 14 } |
| 15 MockCastTransport::~MockCastTransport() { | 15 MockCastTransport::~MockCastTransport() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 CastTransport::Delegate* MockCastTransport::current_delegate() const { | 18 CastTransport::Delegate* MockCastTransport::current_delegate() const { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 net::IPEndPoint CreateIPEndPointForTest() { | 39 net::IPEndPoint CreateIPEndPointForTest() { |
| 40 net::IPAddressNumber number; | 40 net::IPAddressNumber number; |
| 41 number.push_back(192); | 41 number.push_back(192); |
| 42 number.push_back(168); | 42 number.push_back(168); |
| 43 number.push_back(1); | 43 number.push_back(1); |
| 44 number.push_back(1); | 44 number.push_back(1); |
| 45 return net::IPEndPoint(number, 8009); | 45 return net::IPEndPoint(number, 8009); |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace cast_channel | 48 } // namespace cast_channel |
| 49 } // namespace core_api | 49 } // namespace api |
| 50 } // namespace extensions | 50 } // namespace extensions |
| OLD | NEW |