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

Unified Diff: content/renderer/presentation/test_presentation_connection.cc

Issue 2471263003: [Presentation API] (4th)(1-UA blink side) Add WebPresentationConnection and WebPresentationConnecti… (Closed)
Patch Set: resolve code review comments from mlamouri Created 3 years, 11 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
« no previous file with comments | « content/renderer/presentation/test_presentation_connection.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/presentation/test_presentation_connection.cc
diff --git a/content/renderer/presentation/test_presentation_connection.cc b/content/renderer/presentation/test_presentation_connection.cc
new file mode 100644
index 0000000000000000000000000000000000000000..39350bd9093ae8e52a0e96f006ad1391eacd4140
--- /dev/null
+++ b/content/renderer/presentation/test_presentation_connection.cc
@@ -0,0 +1,22 @@
+// Copyright 2017 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 "content/renderer/presentation/test_presentation_connection.h"
+
+#include "third_party/WebKit/public/platform/WebString.h"
+#include "third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionProxy.h"
+#include "third_party/WebKit/public/platform/modules/presentation/WebPresentationController.h"
+
+namespace content {
+
+TestPresentationConnection::TestPresentationConnection() = default;
+
+TestPresentationConnection::~TestPresentationConnection() = default;
+
+void TestPresentationConnection::bindProxy(
+ std::unique_ptr<blink::WebPresentationConnectionProxy> proxy) {
+ proxy_ = std::move(proxy);
+}
+
+} // namespace content
« no previous file with comments | « content/renderer/presentation/test_presentation_connection.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698