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

Unified Diff: chrome/browser/profiles/avatar_menu_model.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 | « no previous file | chrome/browser/resources/options/manage_profile_overlay.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/avatar_menu_model.cc
diff --git a/chrome/browser/profiles/avatar_menu_model.cc b/chrome/browser/profiles/avatar_menu_model.cc
index cf192448ff915955c66e7d6b83792d1a2fbe58b8..a3d9b033e1c3df035609a250200a0702b3d1a459 100644
--- a/chrome/browser/profiles/avatar_menu_model.cc
+++ b/chrome/browser/profiles/avatar_menu_model.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/profiles/avatar_menu_model.h"
#include "base/stl_util.h"
+#include "base/string_number_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/avatar_menu_model_observer.h"
#include "chrome/browser/profiles/profile.h"
@@ -90,7 +91,10 @@ void AvatarMenuModel::EditProfile(size_t index) {
profile_info_->GetPathOfProfileAtIndex(GetItemAt(index).model_index));
browser = Browser::Create(profile);
}
- browser->ShowOptionsTab(chrome::kPersonalOptionsSubPage);
+ std::string page = chrome::kManageProfileSubPage;
+ page += "#";
+ page += base::IntToString(static_cast<int>(index));
+ browser->ShowOptionsTab(page);
}
void AvatarMenuModel::AddNewProfile() {
« no previous file with comments | « no previous file | chrome/browser/resources/options/manage_profile_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698