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

Side by Side Diff: content/common/associated_interface_provider_impl.cc

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: nit Created 4 years, 3 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/common/associated_interface_provider_impl.h"
6
7 namespace content {
8
9 AssociatedInterfaceProviderImpl::AssociatedInterfaceProviderImpl(
10 mojom::AssociatedInterfaceProviderAssociatedPtr proxy)
11 : proxy_(std::move(proxy)) {
12 }
13
14 AssociatedInterfaceProviderImpl::~AssociatedInterfaceProviderImpl() {}
15
16 void AssociatedInterfaceProviderImpl::GetInterface(
17 const std::string& name,
18 mojo::ScopedInterfaceEndpointHandle handle) {
19 mojom::AssociatedInterfaceAssociatedRequest request;
20 request.Bind(std::move(handle));
21 return proxy_->GetAssociatedInterface(name, std::move(request));
22 }
23
24 mojo::AssociatedGroup* AssociatedInterfaceProviderImpl::GetAssociatedGroup() {
25 return proxy_.associated_group();
26 }
27
28 } // namespace content
OLDNEW
« no previous file with comments | « content/common/associated_interface_provider_impl.h ('k') | content/common/associated_interface_registry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698