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

Unified Diff: chrome/browser/profiles/profile.h

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.h
===================================================================
--- chrome/browser/profiles/profile.h (revision 203598)
+++ chrome/browser/profiles/profile.h (working copy)
@@ -95,12 +95,16 @@
};
enum CreateStatus {
- // Profile services were not created.
- CREATE_STATUS_FAIL,
+ // Profile services were not created due to a local error (e.g., disk full).
+ CREATE_STATUS_LOCAL_FAIL,
+ // Profile services were not created due to a remote error (e.g., network
+ // down during limited-user registration).
+ CREATE_STATUS_REMOTE_FAIL,
// Profile created but before initializing extensions and promo resources.
CREATE_STATUS_CREATED,
// Profile is created, extensions and promo resources are initialized.
CREATE_STATUS_INITIALIZED,
+ MAX_CREATE_STATUS // For histogram display.
};
enum CreateMode {

Powered by Google App Engine
This is Rietveld 408576698