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

Side by Side Diff: ipc/ipc_channel_mojo.h

Issue 2697033004: Mojo C++ bindings: remove usage of AssociatedGroup from ipc/ (Closed)
Patch Set: . 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
« no previous file with comments | « ipc/ipc_channel.h ('k') | ipc/ipc_channel_mojo.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 IPC_IPC_CHANNEL_MOJO_H_ 5 #ifndef IPC_IPC_CHANNEL_MOJO_H_
6 #define IPC_IPC_CHANNEL_MOJO_H_ 6 #define IPC_IPC_CHANNEL_MOJO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 Mode mode, 99 Mode mode,
100 Listener* listener, 100 Listener* listener,
101 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner); 101 const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner);
102 102
103 void ForwardMessageFromThreadSafePtr(mojo::Message message); 103 void ForwardMessageFromThreadSafePtr(mojo::Message message);
104 void ForwardMessageWithResponderFromThreadSafePtr( 104 void ForwardMessageWithResponderFromThreadSafePtr(
105 mojo::Message message, 105 mojo::Message message,
106 std::unique_ptr<mojo::MessageReceiver> responder); 106 std::unique_ptr<mojo::MessageReceiver> responder);
107 107
108 // Channel::AssociatedInterfaceSupport: 108 // Channel::AssociatedInterfaceSupport:
109 mojo::AssociatedGroup* GetAssociatedGroup() override;
110 std::unique_ptr<mojo::ThreadSafeForwarder<mojom::Channel>> 109 std::unique_ptr<mojo::ThreadSafeForwarder<mojom::Channel>>
111 CreateThreadSafeChannel() override; 110 CreateThreadSafeChannel() override;
112 void AddGenericAssociatedInterface( 111 void AddGenericAssociatedInterface(
113 const std::string& name, 112 const std::string& name,
114 const GenericAssociatedInterfaceFactory& factory) override; 113 const GenericAssociatedInterfaceFactory& factory) override;
115 void GetGenericRemoteAssociatedInterface( 114 void GetGenericRemoteAssociatedInterface(
116 const std::string& name, 115 const std::string& name,
117 mojo::ScopedInterfaceEndpointHandle handle) override; 116 mojo::ScopedInterfaceEndpointHandle handle) override;
118 117
119 // A TaskRunner which runs tasks on the ChannelMojo's owning thread. 118 // A TaskRunner which runs tasks on the ChannelMojo's owning thread.
(...skipping 10 matching lines...) Expand all
130 associated_interfaces_; 129 associated_interfaces_;
131 130
132 base::WeakPtrFactory<ChannelMojo> weak_factory_; 131 base::WeakPtrFactory<ChannelMojo> weak_factory_;
133 132
134 DISALLOW_COPY_AND_ASSIGN(ChannelMojo); 133 DISALLOW_COPY_AND_ASSIGN(ChannelMojo);
135 }; 134 };
136 135
137 } // namespace IPC 136 } // namespace IPC
138 137
139 #endif // IPC_IPC_CHANNEL_MOJO_H_ 138 #endif // IPC_IPC_CHANNEL_MOJO_H_
OLDNEW
« no previous file with comments | « ipc/ipc_channel.h ('k') | ipc/ipc_channel_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698