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

Unified Diff: tools/ipc_fuzzer/replay/replay_process.cc

Issue 893603004: Revert of IPC Fuzzer: Make ChannelMojo work when --enable-channel-mojo is givne (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/ipc_fuzzer/replay/replay.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/replay/replay_process.cc
diff --git a/tools/ipc_fuzzer/replay/replay_process.cc b/tools/ipc_fuzzer/replay/replay_process.cc
index 0b897772d288516bc525890723ab305ad4264d5d..6f85a06a38a939ba7f5a811b03bdf9733eba9a50 100644
--- a/tools/ipc_fuzzer/replay/replay_process.cc
+++ b/tools/ipc_fuzzer/replay/replay_process.cc
@@ -14,7 +14,6 @@
#include "chrome/common/chrome_switches.h"
#include "ipc/ipc_descriptors.h"
#include "ipc/ipc_switches.h"
-#include "ipc/mojo/ipc_channel_mojo.h"
namespace ipc_fuzzer {
@@ -67,19 +66,10 @@
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kProcessChannelID);
- bool should_use_mojo = base::CommandLine::ForCurrentProcess()->HasSwitch(
- "enable-channel-mojo");
- if (should_use_mojo) {
- channel_ = IPC::ChannelProxy::Create(
- IPC::ChannelMojo::CreateClientFactory(channel_name),
- this,
- io_thread_.message_loop_proxy());
- } else {
- channel_ = IPC::ChannelProxy::Create(channel_name,
- IPC::Channel::MODE_CLIENT,
- this,
- io_thread_.message_loop_proxy());
- }
+ channel_ = IPC::ChannelProxy::Create(channel_name,
+ IPC::Channel::MODE_CLIENT,
+ this,
+ io_thread_.message_loop_proxy());
}
bool ReplayProcess::OpenTestcase() {
« no previous file with comments | « tools/ipc_fuzzer/replay/replay.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698