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

Unified Diff: chrome/browser/profiles/profile_manager.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: Test block removed 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.cc
===================================================================
--- chrome/browser/profiles/profile_manager.cc (revision 203598)
+++ chrome/browser/profiles/profile_manager.cc (working copy)
@@ -501,7 +501,7 @@
if (std::find(ProfilesToDelete().begin(), ProfilesToDelete().end(),
profile_path) != ProfilesToDelete().end()) {
if (!callback.is_null())
- callback.Run(NULL, Profile::CREATE_STATUS_FAIL);
+ callback.Run(NULL, Profile::CREATE_STATUS_LOCAL_FAIL);
return;
}
@@ -885,7 +885,7 @@
// Invoke INITIALIZED or FAIL for all profiles.
RunCallbacks(callbacks, profile,
profile ? Profile::CREATE_STATUS_INITIALIZED :
- Profile::CREATE_STATUS_FAIL);
+ Profile::CREATE_STATUS_LOCAL_FAIL);
}
base::FilePath ProfileManager::GenerateNextProfileDirectoryPath() {

Powered by Google App Engine
This is Rietveld 408576698