Commit cb391759 authored by Sam Goto's avatar Sam Goto Committed by Commit Bot

[sms] Remove the extra check for the Experimental Web Platform Feature

The rollout of SmsReceiver is controlled via the origin trials
mechanism [1], so, to enable it on stable, the flag isn't necessary
anymore to gate the deployment.

[1] https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/runtime_enabled_features.json5?type=cs&q=SmsReceiver+feature&sq=package:chromium&g=0&l=1563

Bug: 1007212
Change-Id: I581b5ba13c281c334a9961caf21bda5608064365
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1823698Reviewed-by: default avatarKen Rockot <rockot@google.com>
Reviewed-by: default avatarAyu Ishii <ayui@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Sam Goto <goto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699540}
parent cbd34702
...@@ -4502,9 +4502,7 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() { ...@@ -4502,9 +4502,7 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
&GetRestrictedCookieManager, base::Unretained(this), &GetRestrictedCookieManager, base::Unretained(this),
GetProcess()->GetID(), routing_id_, GetProcess()->GetStoragePartition())); GetProcess()->GetID(), routing_id_, GetProcess()->GetStoragePartition()));
if (base::FeatureList::IsEnabled(features::kSmsReceiver) && if (base::FeatureList::IsEnabled(features::kSmsReceiver)) {
base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableExperimentalWebPlatformFeatures)) {
registry_->AddInterface(base::BindRepeating( registry_->AddInterface(base::BindRepeating(
&RenderFrameHostImpl::BindSmsReceiverReceiver, base::Unretained(this))); &RenderFrameHostImpl::BindSmsReceiverReceiver, base::Unretained(this)));
} }
......
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