| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index 04f7ceb131b98c48d9b7aede2eec2ea1a26469c5..130d1f029235f02e4680c40ebb90ac40b552cc96 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -35,6 +35,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_info_cache.h"
|
| #include "chrome/browser/profiles/profile_info_util.h"
|
| +#include "chrome/browser/profiles/profile_manager_util.h"
|
| #include "chrome/browser/profiles/profile_metrics.h"
|
| #include "chrome/browser/profiles/profile_shortcut_manager.h"
|
| #include "chrome/browser/search/search.h"
|
| @@ -132,7 +133,7 @@ bool ShouldShowMultiProfilesUserList(chrome::HostDesktopType desktop_type) {
|
| #else
|
| if (desktop_type != chrome::HOST_DESKTOP_TYPE_NATIVE)
|
| return false;
|
| - return ProfileManager::IsMultipleProfilesEnabled();
|
| + return profiles::IsMultipleProfilesEnabled();
|
| #endif
|
| }
|
|
|
| @@ -161,7 +162,7 @@ void OpenNewWindowForProfile(
|
| if (status != Profile::CREATE_STATUS_INITIALIZED)
|
| return;
|
|
|
| - ProfileManager::FindOrCreateNewWindowForProfile(
|
| + profiles::FindOrCreateNewWindowForProfile(
|
| profile,
|
| chrome::startup::IS_PROCESS_STARTUP,
|
| chrome::startup::IS_FIRST_RUN,
|
| @@ -1111,7 +1112,7 @@ void BrowserOptionsHandler::CreateProfile(const ListValue* args) {
|
| return;
|
| #endif
|
|
|
| - if (!ProfileManager::IsMultipleProfilesEnabled())
|
| + if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|
| DCHECK(profile_path_being_created_.empty());
|
| @@ -1265,7 +1266,7 @@ void BrowserOptionsHandler::DeleteProfileAtPath(base::FilePath file_path) {
|
| return;
|
| #endif
|
|
|
| - if (!ProfileManager::IsMultipleProfilesEnabled())
|
| + if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|
| ProfileMetrics::LogProfileDeleteUser(ProfileMetrics::PROFILE_DELETED);
|
|
|