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

Side by Side Diff: ipc/ipc_channel_proxy_unittest.cc

Issue 1354973006: ipc: Remove unnecessary attachment broker plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile errors. Created 5 years, 2 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
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_channel_unittest.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 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 6
7 #include "base/pickle.h" 7 #include "base/pickle.h"
8 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "ipc/ipc_test_base.h" 10 #include "ipc/ipc_test_base.h"
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 EXPECT_TRUE(DidListenerGetBadMessage()); 431 EXPECT_TRUE(DidListenerGetBadMessage());
432 } 432 }
433 #endif 433 #endif
434 434
435 #endif 435 #endif
436 436
437 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(ChannelProxyClient) { 437 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(ChannelProxyClient) {
438 base::MessageLoopForIO main_message_loop; 438 base::MessageLoopForIO main_message_loop;
439 ChannelReflectorListener listener; 439 ChannelReflectorListener listener;
440 scoped_ptr<IPC::Channel> channel(IPC::Channel::CreateClient( 440 scoped_ptr<IPC::Channel> channel(IPC::Channel::CreateClient(
441 IPCTestBase::GetChannelName("ChannelProxyClient"), &listener, nullptr)); 441 IPCTestBase::GetChannelName("ChannelProxyClient"), &listener));
442 CHECK(channel->Connect()); 442 CHECK(channel->Connect());
443 listener.Init(channel.get()); 443 listener.Init(channel.get());
444 444
445 base::MessageLoop::current()->Run(); 445 base::MessageLoop::current()->Run();
446 return 0; 446 return 0;
447 } 447 }
448 448
449 } // namespace 449 } // namespace
OLDNEW
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698