Commit bbf0c906 authored by sdefresne's avatar sdefresne Committed by Commit bot

[iOS] Enable support for finch experiment for Open from Clipboard.

BUG=474249

Review URL: https://codereview.chromium.org/1147843002

Cr-Commit-Position: refs/heads/master@{#330725}
parent 8898d3c1
......@@ -31,7 +31,10 @@ bool IsAlertOnBackgroundUploadEnabled() {
bool IsOpenFromClipboardEnabled() {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
return command_line->HasSwitch(switches::kEnableIOSOpenFromClipboard);
if (command_line->HasSwitch(switches::kEnableIOSOpenFromClipboard))
return true;
return base::FieldTrialList::FindFullName("IOSOpenFromClipboard") ==
"Enabled";
}
bool IsWKWebViewEnabled() {
......
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