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

Side by Side Diff: ipc/ipc_channel_nacl.cc

Issue 553283002: IPC::ChannelMojo: Introduce IPC::MojoBootstrap for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing windows build error Created 6 years, 3 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
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/types.h> 9 #include <sys/types.h>
10 10
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // When the input data buffer is empty, the fds should be too. 367 // When the input data buffer is empty, the fds should be too.
368 return input_fds_.empty(); 368 return input_fds_.empty();
369 } 369 }
370 370
371 void ChannelNacl::HandleInternalMessage(const Message& msg) { 371 void ChannelNacl::HandleInternalMessage(const Message& msg) {
372 // The trusted side IPC::Channel should handle the "hello" handshake; we 372 // The trusted side IPC::Channel should handle the "hello" handshake; we
373 // should not receive the "Hello" message. 373 // should not receive the "Hello" message.
374 NOTREACHED(); 374 NOTREACHED();
375 } 375 }
376 376
377 void ChannelNacl::OnClientLaunched(base::ProcessHandle handle) {
378 }
379
377 // Channel's methods 380 // Channel's methods
378 381
379 // static 382 // static
380 scoped_ptr<Channel> Channel::Create( 383 scoped_ptr<Channel> Channel::Create(
381 const IPC::ChannelHandle &channel_handle, Mode mode, Listener* listener) { 384 const IPC::ChannelHandle &channel_handle, Mode mode, Listener* listener) {
382 return scoped_ptr<Channel>( 385 return scoped_ptr<Channel>(
383 new ChannelNacl(channel_handle, mode, listener)); 386 new ChannelNacl(channel_handle, mode, listener));
384 } 387 }
385 388
386 } // namespace IPC 389 } // namespace IPC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698