Commit 1c188107 authored by Joe Mason's avatar Joe Mason Committed by Commit Bot

chrome_cleaner/settings NamedPlatformChannel -> PlatformChannel

Before M69 this code used mojo::edk::PlatformChannelPair, not
mojo::edk::NamedPlatformChannelPair.

R=csharp

Bug: 830892
Change-Id: I69d4f3dd5ef730e38cbb76f3d827c9094b6492ab
Reviewed-on: https://chromium-review.googlesource.com/1216710Reviewed-by: default avatarChris Sharp <csharp@chromium.org>
Commit-Queue: Joe Mason <joenotcharles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590306}
parent ce3666ac
......@@ -12,7 +12,7 @@
#include "chrome/chrome_cleaner/constants/chrome_cleaner_switches.h"
#include "chrome/chrome_cleaner/engines/engine_resources.h"
#include "chrome/chrome_cleaner/settings/settings_definitions.h"
#include "mojo/public/cpp/platform/named_platform_channel.h"
#include "mojo/public/cpp/platform/platform_channel.h"
namespace chrome_cleaner {
......@@ -322,7 +322,7 @@ void Settings::Initialize(const base::CommandLine& command_line,
chrome_mojo_pipe_token_ = command_line.GetSwitchValueASCII(
chrome_cleaner::kChromeMojoPipeTokenSwitch);
has_parent_pipe_handle_ =
command_line.HasSwitch(mojo::NamedPlatformChannel::kNamedHandleSwitch);
command_line.HasSwitch(mojo::PlatformChannel::kHandleSwitch);
#if !defined(CHROME_CLEANER_OFFICIAL_BUILD)
remove_report_only_uws_ = command_line.HasSwitch(kRemoveScanOnlyUwS);
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment