| Index: chrome/browser/ui/webui/options/create_profile_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/create_profile_handler.cc b/chrome/browser/ui/webui/options/create_profile_handler.cc
|
| index 6c74891513c9f67b8ab383ab3acdfe5ce9bb45b3..c3c808667b1168bdad78a34e8c41c981c6d47968 100644
|
| --- a/chrome/browser/ui/webui/options/create_profile_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/create_profile_handler.cc
|
| @@ -233,7 +233,9 @@ void CreateProfileHandler::ShowProfileCreationError(
|
| base::StringValue(error));
|
| // The ProfileManager calls us back with a NULL profile in some cases.
|
| if (profile)
|
| - webui::DeleteProfileAtPath(profile->GetPath(), web_ui());
|
| + webui::DeleteProfileAtPath(profile->GetPath(),
|
| + web_ui(),
|
| + ProfileMetrics::DELETE_PROFILE_SETTINGS);
|
| }
|
|
|
| void CreateProfileHandler::RecordProfileCreationMetrics(
|
| @@ -374,7 +376,9 @@ void CreateProfileHandler::CancelProfileRegistration(bool user_initiated) {
|
| // Cancelling registration means the callback passed into
|
| // RegisterAndInitSync() won't be called, so the cleanup must be done here.
|
| profile_path_being_created_.clear();
|
| - webui::DeleteProfileAtPath(new_profile->GetPath(), web_ui());
|
| + webui::DeleteProfileAtPath(new_profile->GetPath(),
|
| + web_ui(),
|
| + ProfileMetrics::DELETE_PROFILE_SETTINGS);
|
| }
|
|
|
| void CreateProfileHandler::RegisterSupervisedUser(
|
|
|