Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: ios/chrome/browser/experimental_flags.mm

Issue 2754723005: Enable the EnablePhysicalWeb flag by default on Chrome for iOS (Closed)
Patch Set: set default in experimental_flags.mm Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/experimental_flags.mm
diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
index 83cd53180ee5d9b6540beb9046ce15b558451af0..bec0a41ef96c0a3dde680fde627557102143ac30 100644
--- a/ios/chrome/browser/experimental_flags.mm
+++ b/ios/chrome/browser/experimental_flags.mm
@@ -214,11 +214,12 @@ bool IsPhysicalWebEnabled() {
return false;
}
- // Check if the finch experiment is turned on
+ // Check if the Finch experiment is turned on.
std::string group_name =
base::FieldTrialList::FindFullName("PhysicalWebEnabled");
- return base::StartsWith(group_name, "Enabled",
- base::CompareCase::INSENSITIVE_ASCII);
+ // The feature is enabled by default.
+ return !base::StartsWith(group_name, "Disabled",
+ base::CompareCase::INSENSITIVE_ASCII);
}
bool IsReaderModeEnabled() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698