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

Side by Side Diff: ipc/ipc_channel_common.cc

Issue 2455823002: Support generic synchronization against an IPC::Channel (Closed)
Patch Set: . Created 4 years, 1 month 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.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 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "ipc/ipc_channel.h" 6 #include "ipc/ipc_channel.h"
7 #include "ipc/ipc_channel_mojo.h" 7 #include "ipc/ipc_channel_mojo.h"
8 #include "mojo/public/cpp/system/message_pipe.h" 8 #include "mojo/public/cpp/system/message_pipe.h"
9 9
10 namespace IPC { 10 namespace IPC {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 *handle1 = ChannelHandle(message_pipe.handle1.release()); 60 *handle1 = ChannelHandle(message_pipe.handle1.release());
61 } 61 }
62 62
63 Channel::~Channel() { 63 Channel::~Channel() {
64 } 64 }
65 65
66 Channel::AssociatedInterfaceSupport* Channel::GetAssociatedInterfaceSupport() { 66 Channel::AssociatedInterfaceSupport* Channel::GetAssociatedInterfaceSupport() {
67 return nullptr; 67 return nullptr;
68 } 68 }
69 69
70 void Channel::SendEventToSignal(mojo::common::mojom::EventPtr event) {
71 NOTREACHED();
72 }
73
70 void Channel::Pause() { NOTREACHED(); } 74 void Channel::Pause() { NOTREACHED(); }
71 75
72 void Channel::Unpause(bool flush) { NOTREACHED(); } 76 void Channel::Unpause(bool flush) { NOTREACHED(); }
73 77
74 void Channel::Flush() { NOTREACHED(); } 78 void Channel::Flush() { NOTREACHED(); }
75 79
76 void Channel::OnSetAttachmentBrokerEndpoint() { 80 void Channel::OnSetAttachmentBrokerEndpoint() {
77 CHECK(!did_start_connect_); 81 CHECK(!did_start_connect_);
78 } 82 }
79 83
80 void Channel::WillConnect() { 84 void Channel::WillConnect() {
81 did_start_connect_ = true; 85 did_start_connect_ = true;
82 } 86 }
83 87
84 } // namespace IPC 88 } // namespace IPC
85 89
OLDNEW
« no previous file with comments | « ipc/ipc_channel.h ('k') | ipc/ipc_channel_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698