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

Side by Side Diff: mojo/edk/system/multiprocess_message_pipe_unittest.cc

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps Created 6 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 | « mojo/edk/system/message_pipe_unittest.cc ('k') | mojo/edk/system/options_validation.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stdint.h> 5 #include <stdint.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/files/scoped_file.h" 15 #include "base/files/scoped_file.h"
16 #include "base/files/scoped_temp_dir.h" 16 #include "base/files/scoped_temp_dir.h"
17 #include "base/location.h" 17 #include "base/location.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/macros.h" 19 #include "base/macros.h"
20 #include "build/build_config.h" // TODO(vtl): Remove this. 20 #include "build/build_config.h" // TODO(vtl): Remove this.
21 #include "mojo/common/test/test_utils.h" 21 #include "mojo/edk/embedder/platform_shared_buffer.h"
22 #include "mojo/embedder/platform_shared_buffer.h" 22 #include "mojo/edk/embedder/scoped_platform_handle.h"
23 #include "mojo/embedder/scoped_platform_handle.h" 23 #include "mojo/edk/system/channel.h"
24 #include "mojo/system/channel.h" 24 #include "mojo/edk/system/dispatcher.h"
25 #include "mojo/system/dispatcher.h" 25 #include "mojo/edk/system/message_pipe.h"
26 #include "mojo/system/message_pipe.h" 26 #include "mojo/edk/system/message_pipe_test_utils.h"
27 #include "mojo/system/message_pipe_test_utils.h" 27 #include "mojo/edk/system/platform_handle_dispatcher.h"
28 #include "mojo/system/platform_handle_dispatcher.h" 28 #include "mojo/edk/system/raw_channel.h"
29 #include "mojo/system/raw_channel.h" 29 #include "mojo/edk/system/shared_buffer_dispatcher.h"
30 #include "mojo/system/shared_buffer_dispatcher.h" 30 #include "mojo/edk/system/test_utils.h"
31 #include "mojo/system/test_utils.h" 31 #include "mojo/edk/test/test_utils.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 33
34 namespace mojo { 34 namespace mojo {
35 namespace system { 35 namespace system {
36 namespace { 36 namespace {
37 37
38 class MultiprocessMessagePipeTest 38 class MultiprocessMessagePipeTest
39 : public test::MultiprocessMessagePipeTestBase {}; 39 : public test::MultiprocessMessagePipeTestBase {};
40 40
41 // For each message received, sends a reply message with the same contents 41 // For each message received, sends a reply message with the same contents
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 EXPECT_EQ(0u, hss.satisfiable_signals); 514 EXPECT_EQ(0u, hss.satisfiable_signals);
515 515
516 mp->Close(0); 516 mp->Close(0);
517 517
518 EXPECT_EQ(0, helper()->WaitForChildShutdown()); 518 EXPECT_EQ(0, helper()->WaitForChildShutdown());
519 } 519 }
520 520
521 } // namespace 521 } // namespace
522 } // namespace system 522 } // namespace system
523 } // namespace mojo 523 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_unittest.cc ('k') | mojo/edk/system/options_validation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698