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

Side by Side Diff: ipc/ipc_channel_common.cc

Issue 780223002: ChannelProxy: Send() from UI thread when ChannelMojo is used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 "ipc/ipc_channel.h" 5 #include "ipc/ipc_channel.h"
6 6
7 namespace IPC { 7 namespace IPC {
8 8
9 // static 9 // static
10 scoped_ptr<Channel> Channel::CreateClient( 10 scoped_ptr<Channel> Channel::CreateClient(
(...skipping 25 matching lines...) Expand all
36 36
37 // static 37 // static
38 scoped_ptr<Channel> Channel::CreateServer( 38 scoped_ptr<Channel> Channel::CreateServer(
39 const IPC::ChannelHandle &channel_handle, Listener* listener) { 39 const IPC::ChannelHandle &channel_handle, Listener* listener) {
40 return Channel::Create(channel_handle, Channel::MODE_SERVER, listener); 40 return Channel::Create(channel_handle, Channel::MODE_SERVER, listener);
41 } 41 }
42 42
43 Channel::~Channel() { 43 Channel::~Channel() {
44 } 44 }
45 45
46 bool Channel::IsSendThreadSafe() const {
47 return false;
48 }
49
46 } // namespace IPC 50 } // namespace IPC
47 51
OLDNEW
« no previous file with comments | « ipc/ipc_channel.h ('k') | ipc/ipc_channel_proxy.h » ('j') | ipc/mojo/ipc_channel_mojo.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698