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

Side by Side Diff: ipc/ipc_channel_nacl.cc

Issue 11964002: Remove IPC::Channel::set_listener(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_channel.h ('k') | ipc/ipc_channel_posix.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_nacl.h" 5 #include "ipc/ipc_channel_nacl.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <sys/nacl_imc_api.h> 9 #include <sys/nacl_imc_api.h>
10 #include <sys/nacl_syscalls.h> 10 #include <sys/nacl_syscalls.h>
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 } 362 }
363 363
364 bool Channel::Connect() { 364 bool Channel::Connect() {
365 return channel_impl_->Connect(); 365 return channel_impl_->Connect();
366 } 366 }
367 367
368 void Channel::Close() { 368 void Channel::Close() {
369 channel_impl_->Close(); 369 channel_impl_->Close();
370 } 370 }
371 371
372 void Channel::set_listener(Listener* listener) {
373 channel_impl_->set_listener(listener);
374 }
375
376 base::ProcessId Channel::peer_pid() const { 372 base::ProcessId Channel::peer_pid() const {
377 // This shouldn't actually get used in the untrusted side of the proxy, and we 373 // This shouldn't actually get used in the untrusted side of the proxy, and we
378 // don't have the real pid anyway. 374 // don't have the real pid anyway.
379 return -1; 375 return -1;
380 } 376 }
381 377
382 bool Channel::Send(Message* message) { 378 bool Channel::Send(Message* message) {
383 return channel_impl_->Send(message); 379 return channel_impl_->Send(message);
384 } 380 }
385 381
386 } // namespace IPC 382 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_channel.h ('k') | ipc/ipc_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698