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

Unified Diff: chrome/browser/profiles/profile_manager_browsertest.cc

Issue 15774008: Pass errors generated during limited-user registration up to the UI for display. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: One more switch statement Created 7 years, 7 months 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/profiles/profile_manager_browsertest.cc
===================================================================
--- chrome/browser/profiles/profile_manager_browsertest.cc (revision 203598)
+++ chrome/browser/profiles/profile_manager_browsertest.cc (working copy)
@@ -27,7 +27,8 @@
}
void ProfileCreationComplete(Profile* profile, Profile::CreateStatus status) {
- ASSERT_NE(status, Profile::CREATE_STATUS_FAIL);
+ ASSERT_NE(status, Profile::CREATE_STATUS_LOCAL_FAIL);
+ ASSERT_NE(status, Profile::CREATE_STATUS_REMOTE_FAIL);
// No browser should have been created for this profile yet.
EXPECT_EQ(chrome::GetTotalBrowserCountForProfile(profile), 0U);
EXPECT_EQ(chrome::GetTotalBrowserCount(), 1U);

Powered by Google App Engine
This is Rietveld 408576698