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

Side by Side Diff: content/public/common/associated_interface_provider.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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/public/child/child_thread.h ('k') | content/public/common/child_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #ifndef CONTENT_PUBLIC_COMMON_ASSOCIATED_INTERFACE_PROVIDER_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_ASSOCIATED_INTERFACE_PROVIDER_H_
6 #define CONTENT_PUBLIC_COMMON_ASSOCIATED_INTERFACE_PROVIDER_H_ 6 #define CONTENT_PUBLIC_COMMON_ASSOCIATED_INTERFACE_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" 10 #include "mojo/public/cpp/bindings/associated_interface_ptr.h"
11 #include "mojo/public/cpp/bindings/associated_interface_request.h" 11 #include "mojo/public/cpp/bindings/associated_interface_request.h"
12 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h" 12 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 class AssociatedGroup; 15 class AssociatedGroup;
16 } 16 }
17 17
18 namespace content { 18 namespace content {
19 19
20 // A helper interface for connecting to remote Channel-associated interfaces. 20 // A helper interface for connecting to remote Channel-associated interfaces.
21 // 21 //
22 // This is analogous to shell::InterfaceProvider in that it provides a means of 22 // This is analogous to service_manager::InterfaceProvider in that it provides a
23 // means of
23 // binding proxies to remote interfaces, but this is specifically for interfaces 24 // binding proxies to remote interfaces, but this is specifically for interfaces
24 // which must be assocaited with an IPC::Channel, i.e. retain FIFO message 25 // which must be assocaited with an IPC::Channel, i.e. retain FIFO message
25 // ordering with respect to legacy IPC messages. 26 // ordering with respect to legacy IPC messages.
26 // 27 //
27 // The Channel with which the remote interfaces are associated depends on 28 // The Channel with which the remote interfaces are associated depends on
28 // the configuration of the specific AssociatedInterfaceProvider instance. For 29 // the configuration of the specific AssociatedInterfaceProvider instance. For
29 // example, RenderFrameHost exposes an instance of this class for which all 30 // example, RenderFrameHost exposes an instance of this class for which all
30 // interfaces are associted with the IPC::ChannelProxy to the render process 31 // interfaces are associted with the IPC::ChannelProxy to the render process
31 // which hosts its corresponding RenderFrame. 32 // which hosts its corresponding RenderFrame.
32 class AssociatedInterfaceProvider { 33 class AssociatedInterfaceProvider {
(...skipping 19 matching lines...) Expand all
52 53
53 virtual void OverrideBinderForTesting( 54 virtual void OverrideBinderForTesting(
54 const std::string& name, 55 const std::string& name,
55 const base::Callback<void(mojo::ScopedInterfaceEndpointHandle)>& 56 const base::Callback<void(mojo::ScopedInterfaceEndpointHandle)>&
56 binder) = 0; 57 binder) = 0;
57 }; 58 };
58 59
59 } // namespace content 60 } // namespace content
60 61
61 #endif // CONTENT_PUBLIC_COMMON_ASSOCIATED_INTERFACE_PROVIDER_H_ 62 #endif // CONTENT_PUBLIC_COMMON_ASSOCIATED_INTERFACE_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/public/child/child_thread.h ('k') | content/public/common/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698