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

Unified Diff: chrome/browser/ui/webui/signin/signin_create_profile_handler.cc

Issue 1794353003: Refactor ProfileInfoCache in c/b/profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced LOG(WARNING) by UMA histograms Created 4 years, 8 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/signin/signin_create_profile_handler.cc
diff --git a/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc b/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
index 079328aa54ea562e2f36d105913fd8b4174136ea..fe2d3bbe1d69026b557aa3d0f7d1f3687f9aa218 100644
--- a/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
+++ b/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
@@ -148,10 +148,10 @@ void SigninCreateProfileHandler::RequestDefaultProfileIcons(
}
void SigninCreateProfileHandler::SendNewProfileDefaults() {
- ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetProfileInfoCache();
+ ProfileAttributesStorage& storage =
+ g_browser_process->profile_manager()->GetProfileAttributesStorage();
base::DictionaryValue profile_info;
- profile_info.SetString("name", cache.ChooseNameForNewProfile(0));
+ profile_info.SetString("name", storage.ChooseNameForNewProfile(0));
web_ui()->CallJavascriptFunction(
"cr.webUIListenerCallback",

Powered by Google App Engine
This is Rietveld 408576698