Searched refs:RawChannel (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/mojo/system/
H A Draw_channel_unittest.cc57 void InitOnIOThread(RawChannel* raw_channel, RawChannel::Delegate* delegate) {
104 class WriteOnlyRawChannelDelegate : public RawChannel::Delegate {
109 // |RawChannel::Delegate| implementation:
196 scoped_ptr<RawChannel> rc(RawChannel::Create(handles[0].Pass()));
215 FROM_HERE, base::Bind(&RawChannel::Shutdown, base::Unretained(rc.get())));
220 class ReadCheckerRawChannelDelegate : public RawChannel::Delegate {
225 // |RawChannel::Delegate| implementation (called on the I/O thread):
282 scoped_ptr<RawChannel> r
[all...]
H A Draw_channel.cc24 // RawChannel::ReadBuffer ------------------------------------------------------
26 RawChannel::ReadBuffer::ReadBuffer() : buffer_(kReadSize), num_valid_bytes_(0) {
29 RawChannel::ReadBuffer::~ReadBuffer() {
32 void RawChannel::ReadBuffer::GetBuffer(char** addr, size_t* size) {
38 // RawChannel::WriteBuffer -----------------------------------------------------
40 RawChannel::WriteBuffer::WriteBuffer(size_t serialized_platform_handle_size)
46 RawChannel::WriteBuffer::~WriteBuffer() {
50 bool RawChannel::WriteBuffer::HavePlatformHandlesToSend() const {
73 void RawChannel::WriteBuffer::GetPlatformHandlesToSend(
94 void RawChannel
151 RawChannel::RawChannel() function in class:mojo::system::RawChannel
[all...]
H A Draw_channel.h28 // |RawChannel| is an interface and base class for objects that wrap an OS
43 class MOJO_SYSTEM_IMPL_EXPORT RawChannel { class in namespace:mojo::system
45 virtual ~RawChannel();
66 // |RawChannel|), but must not destroy it.
86 static scoped_ptr<RawChannel> Create(embedder::ScopedPlatformHandle handle);
136 friend class RawChannel;
180 friend class RawChannel;
199 RawChannel();
227 // Handles any control messages targeted to the |RawChannel| (or
230 // |RawChannel
[all...]
H A Dchannel.h52 public RawChannel::Delegate {
65 bool Init(scoped_ptr<RawChannel> raw_channel);
109 // See |RawChannel::IsWriteBufferEmpty()|.
121 // See |RawChannel::GetSerializedPlatformHandleSize()|.
132 // |RawChannel::Delegate| implementation (only called on the creation thread):
176 scoped_ptr<RawChannel> raw_channel_;
H A Draw_channel_posix.cc32 class RawChannelPosix : public RawChannel,
38 // |RawChannel| public methods:
42 // |RawChannel| protected methods:
149 RawChannel::EnqueueMessageNoLock(fd_message.Pass());
158 RawChannel::EnqueueMessageNoLock(message.Pass());
167 // We don't need to do anything. |RawChannel| won't extract the platform
172 return RawChannel::OnReadMessageForRawChannel(message_view);
175 RawChannel::IOResult RawChannelPosix::Read(size_t* bytes_read) {
187 RawChannel::IOResult RawChannelPosix::ScheduleRead() {
217 RawChannel
[all...]
H A Draw_channel_win.cc72 class RawChannelWin : public RawChannel {
77 // |RawChannel| public methods:
162 // |RawChannel| private methods:
365 RawChannel::IOResult RawChannelWin::Read(size_t* bytes_read) {
409 RawChannel::IOResult RawChannelWin::ScheduleRead() {
444 RawChannel::IOResult RawChannelWin::WriteNoLock(
497 RawChannel::IOResult RawChannelWin::ScheduleWriteNoLock() {
574 scoped_ptr<RawChannel> RawChannel::Create(
576 return scoped_ptr<RawChannel>(ne
[all...]
H A Dchannel_unittest.cc67 RawChannel* raw_channel() { return raw_channel_.get(); }
68 scoped_ptr<RawChannel>* mutable_raw_channel() { return &raw_channel_; }
78 raw_channel_ = RawChannel::Create(channel_pair.PassServerHandle()).Pass();
84 scoped_ptr<RawChannel> raw_channel_;
118 class MockRawChannelOnInitFails : public RawChannel {
123 // |RawChannel| public methods:
127 // |RawChannel| protected methods:
H A Dmessage_pipe_test_utils.cc79 CHECK(channel_->Init(RawChannel::Create(platform_handle.Pass())));
H A Dchannel.cc35 bool Channel::Init(scoped_ptr<RawChannel> raw_channel) {
286 DVLOG(1) << "RawChannel read error (shutdown)";
291 << "RawChannel read error (connection broken)";
297 LOG(ERROR) << "RawChannel read error (received bad message)";
300 LOG(ERROR) << "RawChannel read error (unknown)";
305 LOG(WARNING) << "RawChannel write error";
H A Dremote_message_pipe_unittest.cc127 RawChannel::Create(platform_handles_[channel_index].Pass())));
/external/chromium_org/mojo/embedder/
H A Dembedder.cc50 if (!channel->Init(system::RawChannel::Create(platform_handle.Pass()))) {

Completed in 140 milliseconds