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

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

Issue 7621031: Revert 97049 - Trying to see if it fixes sync_integration_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/ui/webui/options/manage_profile_handler.cc (revision 97074)
+++ chrome/browser/ui/webui/options/manage_profile_handler.cc (working copy)
@@ -76,7 +76,7 @@
void ManageProfileHandler::SendProfileNames() {
ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetMutableProfileInfo();
+ g_browser_process->profile_manager()->GetProfileInfoCache();
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 @@
return;
ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetMutableProfileInfo();
+ g_browser_process->profile_manager()->GetProfileInfoCache();
size_t profile_index = cache.GetIndexOfProfileWithPath(profile_file_path);
if (profile_index == std::string::npos)
return;
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc ('k') | chrome/browser/ui/webui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698