Index: chrome/browser/profiles/host_zoom_map_browsertest.cc |
diff --git a/chrome/browser/profiles/host_zoom_map_browsertest.cc b/chrome/browser/profiles/host_zoom_map_browsertest.cc |
index f3d7764173fb504f7e1f01a61d166e23cecf5fba..b94e8f19f0635a4c3a0c409cbe1272ea3870aaff 100644 |
--- a/chrome/browser/profiles/host_zoom_map_browsertest.cc |
+++ b/chrome/browser/profiles/host_zoom_map_browsertest.cc |
@@ -20,6 +20,7 @@ |
#include "base/values.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_impl.h" |
+#include "chrome/browser/signin/signin_promo.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/browser/ui/zoom/chrome_zoom_level_prefs.h" |
@@ -243,7 +244,11 @@ IN_PROC_BROWSER_TEST_F(HostZoomMapBrowserTest, ZoomEventsWorkForOffTheRecord) { |
IN_PROC_BROWSER_TEST_F( |
HostZoomMapBrowserTest, |
WebviewBasedSigninUsesDefaultStoragePartitionForEmbedder) { |
- GURL test_url = ConstructTestServerURL(chrome::kChromeUIChromeSigninURL); |
+ GURL test_url = ConstructTestServerURL( |
+ signin::GetPromoURL(signin_metrics::ACCESS_POINT_START_PAGE, |
+ signin_metrics::REASON_SIGNIN_PRIMARY_ACCOUNT, false) |
+ .spec() |
+ .c_str()); |
std::string test_host(test_url.host()); |
std::string test_scheme(test_url.scheme()); |
ui_test_utils::NavigateToURL(browser(), test_url); |
@@ -281,7 +286,11 @@ IN_PROC_BROWSER_TEST_F(HostZoomMapIframeSigninBrowserTest, |
// test currently relies on the signin page being loaded into a non-default |
// storage partition (and verifies this is the case), but ultimately it would |
// be better not to rely on what the signin page is doing. |
- GURL test_url = ConstructTestServerURL(chrome::kChromeUIChromeSigninURL); |
+ GURL test_url = ConstructTestServerURL( |
+ signin::GetPromoURL(signin_metrics::ACCESS_POINT_START_PAGE, |
+ signin_metrics::REASON_SIGNIN_PRIMARY_ACCOUNT, false) |
+ .spec() |
+ .c_str()); |
std::string test_host(test_url.host()); |
std::string test_scheme(test_url.scheme()); |
ui_test_utils::NavigateToURL(browser(), test_url); |