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

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

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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/associated_interface_provider_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/public/common/associated_interface_provider.h"
6
7 #include <stdint.h>
8
9 #include "base/macros.h"
10 #include "content/common/associated_interfaces.mojom.h"
11 #include "mojo/public/cpp/bindings/associated_group.h"
12
13 namespace content {
14
15 class AssociatedInterfaceProviderImpl : public AssociatedInterfaceProvider {
16 public:
17 // Binds this to a remote mojom::AssociatedInterfaceProvider.
18 explicit AssociatedInterfaceProviderImpl(
19 mojom::AssociatedInterfaceProviderAssociatedPtr proxy);
20 ~AssociatedInterfaceProviderImpl() override;
21
22 // AssociatedInterfaceProvider:
23 void GetInterface(const std::string& name,
24 mojo::ScopedInterfaceEndpointHandle handle) override;
25 mojo::AssociatedGroup* GetAssociatedGroup() override;
26
27 private:
28 mojom::AssociatedInterfaceProviderAssociatedPtr proxy_;
29
30 DISALLOW_COPY_AND_ASSIGN(AssociatedInterfaceProviderImpl);
31 };
32
33 } // namespace content
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/associated_interface_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698