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

Unified Diff: chrome/browser/ui/sync/one_click_signin_helper_unittest.cc

Issue 777143003: Clean up straggler classes to use embedded signin in page in the new profiles world. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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
Index: chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
index 6e368fae4a7b7d179dbc5d2243fce983c9da873b..ebae62fa0a68c8ab6718e420d3523d7acc1ecdeb 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
+++ b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
@@ -665,7 +665,7 @@ TEST_F(OneClickSigninHelperIncognitoTest, ShowInfoBarUIThreadIncognito) {
OneClickSigninHelper::ShowInfoBarUIThread(
"session_index", "email", OneClickSigninHelper::AUTO_ACCEPT_ACCEPTED,
- signin::SOURCE_UNKNOWN, GURL(), process()->GetID(),
+ signin_metrics::SOURCE_UNKNOWN, GURL(), process()->GetID(),
rvh()->GetRoutingID());
}
@@ -703,7 +703,7 @@ TEST_F(OneClickSigninHelperTest, NoRedirectToNTPWithPendingEntry) {
EXPECT_CALL(delegate, OpenURLFromTab(_, _)).Times(0);
web_contents()->SetDelegate(&delegate);
OneClickSigninHelper::RedirectToNtpOrAppsPage(
- web_contents(), signin::SOURCE_UNKNOWN);
+ web_contents(), signin_metrics::SOURCE_UNKNOWN);
EXPECT_EQ(fooWebUIURL, controller.GetPendingEntry()->GetURL());
}
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_helper.cc ('k') | chrome/browser/ui/sync/one_click_signin_histogram.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698