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 6036836a234c394da1362e7a6a68b2525ecbb9ea..73b201c25947d17b8d50b057d7ec8ae8775a36e7 100644 |
--- a/chrome/browser/ui/webui/options/create_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/create_profile_handler.cc |
@@ -22,7 +22,7 @@ |
#include "chrome/browser/profiles/profile_metrics.h" |
#include "chrome/browser/profiles/profiles_state.h" |
#include "chrome/browser/sync/profile_sync_service_factory.h" |
-#include "chrome/browser/ui/webui/options/options_handlers_helper.h" |
+#include "chrome/browser/ui/webui/profile_helper.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/grit/generated_resources.h" |
#include "components/browser_sync/browser/profile_sync_service.h" |
@@ -217,7 +217,7 @@ void CreateProfileHandler::CreateShortcutAndShowSuccess(bool create_shortcut, |
if (should_open_new_window) { |
// Opening the new window must be the last action, after all callbacks |
// have been run, to give them a chance to initialize the profile. |
- helper::OpenNewWindowForProfile(profile, |
+ profiles::helper::OpenNewWindowForProfile(profile, |
Profile::CREATE_STATUS_INITIALIZED); |
Dan Beam
2016/02/29 20:25:32
nit: fix indent
Moe
2016/03/01 18:29:53
Done.
|
} |
profile_creation_type_ = NO_CREATION_IN_PROGRESS; |
@@ -234,7 +234,7 @@ void CreateProfileHandler::ShowProfileCreationError( |
base::StringValue(error)); |
// The ProfileManager calls us back with a NULL profile in some cases. |
if (profile) |
- helper::DeleteProfileAtPath(profile->GetPath(), web_ui()); |
+ profiles::helper::DeleteProfileAtPath(profile->GetPath(), web_ui()); |
} |
void CreateProfileHandler::RecordProfileCreationMetrics( |
@@ -375,7 +375,7 @@ 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(); |
- helper::DeleteProfileAtPath(new_profile->GetPath(), web_ui()); |
+ profiles::helper::DeleteProfileAtPath(new_profile->GetPath(), web_ui()); |
} |
void CreateProfileHandler::RegisterSupervisedUser( |