[iOS] Create a new popup presenter for UI Refresh.
Creates a new popup presenter, renames the old one to "Legacy". Removes existing forking on IsUIRefreshPhase1Enabled, otherwise the new class is a copy of the Legacy one. Adds a protocol to allow having two implementations for presenters. This will allow not having forking everywhere in the file. Bug: 821817 Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I1c3ee5c30d50123544f2288ec95d8e80e7b59032 Reviewed-on: https://chromium-review.googlesource.com/1107981 Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#568969}
Showing
Please register or sign in to comment