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

Side by Side Diff: tools/ipc_fuzzer/message_replay/replay_process.cc

Issue 2069803003: Fold //ipc/mojo into //ipc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ipc-deps
Patch Set: Try fix mac tests. Created 4 years, 6 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 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 "tools/ipc_fuzzer/message_replay/replay_process.h" 5 #include "tools/ipc_fuzzer/message_replay/replay_process.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/posix/global_descriptors.h" 14 #include "base/posix/global_descriptors.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "chrome/common/chrome_switches.h" 16 #include "chrome/common/chrome_switches.h"
17 #include "content/public/common/content_switches.h" 17 #include "content/public/common/content_switches.h"
18 #include "content/public/common/mojo_channel_switches.h" 18 #include "content/public/common/mojo_channel_switches.h"
19 #include "ipc/ipc_channel_mojo.h"
19 #include "ipc/ipc_descriptors.h" 20 #include "ipc/ipc_descriptors.h"
20 #include "ipc/ipc_switches.h" 21 #include "ipc/ipc_switches.h"
21 #include "ipc/mojo/ipc_channel_mojo.h"
22 #include "mojo/edk/embedder/embedder.h" 22 #include "mojo/edk/embedder/embedder.h"
23 #include "mojo/edk/embedder/platform_channel_pair.h" 23 #include "mojo/edk/embedder/platform_channel_pair.h"
24 24
25 #if defined(OS_POSIX) 25 #if defined(OS_POSIX)
26 #include "content/public/common/content_descriptors.h" 26 #include "content/public/common/content_descriptors.h"
27 #endif 27 #endif
28 28
29 namespace ipc_fuzzer { 29 namespace ipc_fuzzer {
30 30
31 void InitializeMojo() { 31 void InitializeMojo() {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 return true; 162 return true;
163 } 163 }
164 164
165 void ReplayProcess::OnChannelError() { 165 void ReplayProcess::OnChannelError() {
166 LOG(ERROR) << "Channel error, quitting after " 166 LOG(ERROR) << "Channel error, quitting after "
167 << message_index_ << " messages"; 167 << message_index_ << " messages";
168 base::MessageLoop::current()->QuitWhenIdle(); 168 base::MessageLoop::current()->QuitWhenIdle();
169 } 169 }
170 170
171 } // namespace ipc_fuzzer 171 } // namespace ipc_fuzzer
OLDNEW
« ipc/mojo/BUILD.gn ('K') | « tools/ipc_fuzzer/message_replay/message_replay.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698