Commit 23e80815 authored by Takumi Fujimoto's avatar Takumi Fujimoto Committed by Commit Bot

Enable MirroringService by default

Enable the feature and remove some CastRemotingConnector tests that are
deprecated.

Bug: 956609
Change-Id: I4e5931ff0b2b8b1c455c53d9f1e2e865004d3095
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929398Reviewed-by: default avatarYuri Wiitala <miu@chromium.org>
Commit-Queue: Takumi Fujimoto <takumif@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723024}
parent c50865f6
...@@ -334,7 +334,7 @@ void CastRemotingConnector::StartRemoting(RemotingBridge* bridge) { ...@@ -334,7 +334,7 @@ void CastRemotingConnector::StartRemoting(RemotingBridge* bridge) {
if (remoting_allowed_.has_value()) { if (remoting_allowed_.has_value()) {
StartRemotingIfPermitted(); StartRemotingIfPermitted();
} else { } else {
base::OnceCallback<void(bool)> dialog_result_callback(base::BindOnce( PermissionResultCallback dialog_result_callback(base::BindOnce(
[](base::WeakPtr<CastRemotingConnector> connector, bool is_allowed) { [](base::WeakPtr<CastRemotingConnector> connector, bool is_allowed) {
DCHECK_CURRENTLY_ON(BrowserThread::UI); DCHECK_CURRENTLY_ON(BrowserThread::UI);
if (!connector) if (!connector)
......
...@@ -9,7 +9,7 @@ namespace features { ...@@ -9,7 +9,7 @@ namespace features {
// Enables or disables Mirroring Service. // Enables or disables Mirroring Service.
const base::Feature kMirroringService{"MirroringService", const base::Feature kMirroringService{"MirroringService",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
} // namespace features } // namespace features
} // namespace mirroring } // namespace mirroring
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