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

Unified Diff: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm

Issue 847733005: Move User Manager onto a System profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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/cocoa/profiles/user_manager_mac.mm
diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
index a4ec2e9c72d2fc8f097fac06831c3708ca6159db..89fd112b6e3f02c0fede01052ce0d13e800c1569 100644
--- a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
+++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm
@@ -182,11 +182,11 @@ void UserManager::Show(
// Create the guest profile, if necessary, and open the User Manager
// from the guest profile.
- profiles::CreateGuestProfileForUserManager(
+ profiles::CreateSystemProfileForUserManager(
profile_path_to_focus,
tutorial_mode,
profile_open_action,
- base::Bind(&UserManagerMac::OnGuestProfileCreated));
+ base::Bind(&UserManagerMac::OnSystemProfileCreated));
}
void UserManager::Hide() {
@@ -207,10 +207,10 @@ UserManagerMac::~UserManagerMac() {
}
// static
-void UserManagerMac::OnGuestProfileCreated(Profile* guest_profile,
- const std::string& url) {
+void UserManagerMac::OnSystemProfileCreated(Profile* system_profile,
+ const std::string& url) {
DCHECK(!instance_);
- instance_ = new UserManagerMac(guest_profile);
+ instance_ = new UserManagerMac(system_profile);
[instance_->window_controller() showURL:GURL(url)];
}
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/user_manager_mac.h ('k') | chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698