| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "content/renderer/presentation/test_presentation_connection.h" | 5 #include "content/renderer/presentation/test_presentation_connection.h" |
| 6 | 6 |
| 7 #include "third_party/WebKit/public/platform/WebString.h" | 7 #include "third_party/WebKit/public/platform/WebString.h" |
| 8 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nConnectionProxy.h" | 8 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nConnectionProxy.h" |
| 9 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nController.h" | 9 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nController.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 | 12 |
| 13 TestPresentationConnection::TestPresentationConnection() = default; | 13 TestPresentationConnection::TestPresentationConnection() = default; |
| 14 | 14 |
| 15 TestPresentationConnection::~TestPresentationConnection() = default; | 15 TestPresentationConnection::~TestPresentationConnection() = default; |
| 16 | 16 |
| 17 void TestPresentationConnection::bindProxy( | 17 void TestPresentationConnection::bindProxy( |
| 18 std::unique_ptr<blink::WebPresentationConnectionProxy> proxy) { | 18 std::unique_ptr<blink::WebPresentationConnectionProxy> proxy) { |
| 19 proxy_ = std::move(proxy); | 19 proxy_ = std::move(proxy); |
| 20 } | 20 } |
| 21 | 21 |
| 22 blink::WebPresentationConnectionProxy* TestPresentationConnection::proxy() { |
| 23 return proxy_.get(); |
| 24 } |
| 25 |
| 22 } // namespace content | 26 } // namespace content |
| OLD | NEW |