Commit 603959eb authored by John Williams's avatar John Williams Committed by Commit Bot

[Cast MRP] Fixed mirroring regression caused by crrev/c/1960723

Change-Id: I1e5f451d72b5710f05d08ea80e0b70620df735ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1990445
Commit-Queue: John Williams <jrw@chromium.org>
Reviewed-by: default avatarTakumi Fujimoto <takumif@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732648}
parent f7f95711
...@@ -51,10 +51,11 @@ const std::string GetMirroringNamespace(const base::Value& message) { ...@@ -51,10 +51,11 @@ const std::string GetMirroringNamespace(const base::Value& message) {
if (type_value && if (type_value &&
type_value->GetString() == type_value->GetString() ==
cast_util::EnumToString<cast_channel::CastMessageType, cast_util::EnumToString<cast_channel::CastMessageType,
cast_channel::CastMessageType::kRpc>()) cast_channel::CastMessageType::kRpc>()) {
return mirroring::mojom::kWebRtcNamespace;
else
return mirroring::mojom::kRemotingNamespace; return mirroring::mojom::kRemotingNamespace;
} else {
return mirroring::mojom::kWebRtcNamespace;
}
} }
} // namespace } // namespace
......
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