[iOS] Use UI Refresh LocationBar flag.

Exposes the location bar flag to chrome://flags. Uses it to switch
between the two location bars.

Bug: None
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I1ec939de576ff14aa75b3db4b7082ecd7a801975
Reviewed-on: https://chromium-review.googlesource.com/1000778
Commit-Queue: Stepan Khapugin <[email protected]>
Reviewed-by: Gauthier Ambard <[email protected]>
Cr-Commit-Position: refs/heads/master@{#549467}
diff --git a/ios/chrome/browser/about_flags.mm b/ios/chrome/browser/about_flags.mm
index a9a83a1..5c92ebce 100644
--- a/ios/chrome/browser/about_flags.mm
+++ b/ios/chrome/browser/about_flags.mm
@@ -284,6 +284,9 @@
     {"autofill-dynamic-forms", flag_descriptions::kAutofillDynamicFormsName,
      flag_descriptions::kAutofillDynamicFormsDescription, flags_ui::kOsIos,
      FEATURE_VALUE_TYPE(autofill::features::kAutofillDynamicForms)},
+    {"ui-refresh-location-bar", flag_descriptions::kUIRefreshLocationBarName,
+     flag_descriptions::kUIRefreshLocationBarDescription, flags_ui::kOsIos,
+     FEATURE_VALUE_TYPE(kUIRefreshLocationBar)},
 };
 
 // Add all switches from experimental flags to |command_line|.