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

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

Issue 864123003: IPC Fuzzer: Make it work with --disable-mojo-channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing 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/play_testcase.py ('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 34d972393f9dafc0c5edf934f7c9aec85e805015..0a7b830be5a9ba45fb7c33094bc49904b5706454 100644
--- a/tools/ipc_fuzzer/replay/replay_process.cc
+++ b/tools/ipc_fuzzer/replay/replay_process.cc
@@ -13,6 +13,7 @@
#include "base/posix/global_descriptors.h"
#include "chrome/common/chrome_switches.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/mojo_channel_switches.h"
#include "ipc/ipc_descriptors.h"
#include "ipc/ipc_switches.h"
#include "ipc/mojo/ipc_channel_mojo.h"
@@ -89,7 +90,7 @@ void ReplayProcess::OpenChannel() {
base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kProcessType);
bool should_use_mojo = process_type == switches::kRendererProcess &&
- IPC::ChannelMojo::ShouldBeUsed();
+ content::ShouldUseMojoChannel();
if (should_use_mojo) {
channel_ = IPC::ChannelProxy::Create(
IPC::ChannelMojo::CreateClientFactory(channel_name), this,
« no previous file with comments | « tools/ipc_fuzzer/play_testcase.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698