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

Unified Diff: chrome/browser/ui/webui/options/manage_profile_handler.cc

Issue 7648037: [Mac] Flip the flag for multi-profiles to on by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Un-needed includes Created 9 years, 4 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/ui/webui/options/manage_profile_handler.cc
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc
index 45f9d612cf58b695d7670ad7770e59fc08e6f9ac..d5d738484f079eb39cd418be0a76063784dfb58d 100644
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
@@ -76,7 +76,7 @@ void ManageProfileHandler::InitializeDefaultProfileIcons() {
void ManageProfileHandler::SendProfileNames() {
ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetProfileInfoCache();
+ g_browser_process->profile_manager()->GetMutableProfileInfo();
DictionaryValue profile_name_dict;
for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i)
profile_name_dict.SetBoolean(UTF16ToUTF8(cache.GetNameOfProfileAtIndex(i)),
@@ -94,7 +94,7 @@ void ManageProfileHandler::SetProfileNameAndIcon(const ListValue* args) {
return;
ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetProfileInfoCache();
+ g_browser_process->profile_manager()->GetMutableProfileInfo();
size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path);
if (profile_index == std::string::npos)
return;

Powered by Google App Engine
This is Rietveld 408576698