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

Unified Diff: chrome/browser/ui/app_list/profile_loader.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: Addressed Drew's comments 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/ui/app_list/profile_loader.cc
===================================================================
--- chrome/browser/ui/app_list/profile_loader.cc (revision 203598)
+++ chrome/browser/ui/app_list/profile_loader.cc (working copy)
@@ -59,9 +59,13 @@
callback.Run(profile);
DecrementPendingProfileLoads();
break;
- case Profile::CREATE_STATUS_FAIL:
+ case Profile::CREATE_STATUS_LOCAL_FAIL:
+ case Profile::CREATE_STATUS_REMOTE_FAIL:
DecrementPendingProfileLoads();
break;
+ case Profile::MAX_CREATE_STATUS:
+ NOTREACHED();
+ break;
}
}

Powered by Google App Engine
This is Rietveld 408576698