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

Side by Side Diff: content/renderer/presentation/test_presentation_connection.cc

Issue 2471573005: [Presentation API] (5th) (1-UA) integrate controller and receiver side for 1-UA messaging (Closed)
Patch Set: merge with master Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698