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

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

Issue 8135009: [Multi profile] Clicking "Customize User" should show the "Manage User" dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 9 years, 2 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
« no previous file with comments | « chrome/browser/ui/webui/options/manage_profile_handler.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/personal_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/personal_options_handler.cc b/chrome/browser/ui/webui/options/personal_options_handler.cc
index 30e574d12c2ec82718cd1a56183debcefc90878b..eb661e8e43b30ef617764695cd4f3b32fda711fe 100644
--- a/chrome/browser/ui/webui/options/personal_options_handler.cc
+++ b/chrome/browser/ui/webui/options/personal_options_handler.cc
@@ -388,15 +388,13 @@ void PersonalOptionsHandler::SendProfilesInfo() {
FilePath current_profile_path =
web_ui_->tab_contents()->browser_context()->GetPath();
for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i) {
- DictionaryValue *profile_value = new DictionaryValue();
+ DictionaryValue* profile_value = new DictionaryValue();
size_t icon_index = cache.GetAvatarIconIndexOfProfileAtIndex(i);
FilePath profile_path = cache.GetPathOfProfileAtIndex(i);
profile_value->SetString("name", cache.GetNameOfProfileAtIndex(i));
profile_value->SetString("iconURL",
cache.GetDefaultAvatarIconUrl(icon_index));
- profile_value->Set("filePath",
- base::CreateFilePathValue(
- profile_path));
+ profile_value->Set("filePath", base::CreateFilePathValue(profile_path));
profile_value->SetBoolean("isCurrentProfile",
profile_path == current_profile_path);
profile_info_list.Append(profile_value);
« no previous file with comments | « chrome/browser/ui/webui/options/manage_profile_handler.cc ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698