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

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

Issue 11494003: Enable "Let me choose what to sync" checkbox in gaia sign in page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only redirect to NTP on error if explicit signin Created 8 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 7de3a9d111215b7a8df8275267003741469464e4..94a3701dadb400b4a5a1be8c1bc4243fe438e99e 100644
--- a/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
+++ b/chrome/browser/ui/sync/one_click_signin_helper_unittest.cc
@@ -527,11 +527,10 @@ TEST_F(OneClickSigninHelperTest, ShowInfoBarUIThreadIncognito) {
OneClickSigninHelper::FromWebContents(web_contents());
EXPECT_EQ(NULL, helper);
- OneClickSigninHelper::ShowInfoBarUIThread("session_index", "email",
- OneClickSigninHelper::AUTO_ACCEPT,
- SyncPromoUI::SOURCE_UNKNOWN,
- process()->GetID(),
- rvh()->GetRoutingID());
+ OneClickSigninHelper::ShowInfoBarUIThread(
+ "session_index", "email", OneClickSigninHelper::AUTO_ACCEPT_ACCEPTED,
+ SyncPromoUI::SOURCE_UNKNOWN, GURL(), process()->GetID(),
+ rvh()->GetRoutingID());
}
// I/O thread tests

Powered by Google App Engine
This is Rietveld 408576698