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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 2899083003: Delete unused tutorial code from profile switcher/user manager. (Closed)
Patch Set: delete UserManagerTutorialMode enum Created 3 years, 7 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/app_controller_mac.mm
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 844f15f614348480b0320db9fed4ae8fadce61d1..e2c9f3e93d3bd84b7f45b60e2b1bda482c95bdbe 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -965,7 +965,6 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
// profile cannot have a browser.
if (IsProfileSignedOut(lastProfile) || lastProfile->IsSystemProfile()) {
UserManager::Show(base::FilePath(),
- profiles::USER_MANAGER_NO_TUTORIAL,
profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION);
return;
}
@@ -1171,7 +1170,6 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
if (lastProfile->IsGuestSession() || IsProfileSignedOut(lastProfile) ||
lastProfile->IsSystemProfile()) {
UserManager::Show(base::FilePath(),
- profiles::USER_MANAGER_NO_TUTORIAL,
profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION);
} else {
CreateBrowser(lastProfile);
@@ -1342,7 +1340,6 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
} else {
// No way to create a browser, default to the User Manager.
UserManager::Show(base::FilePath(),
- profiles::USER_MANAGER_NO_TUTORIAL,
profiles::USER_MANAGER_SELECT_PROFILE_CHROME_SETTINGS);
}
}
@@ -1356,7 +1353,6 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
} else {
// No way to create a browser, default to the User Manager.
UserManager::Show(base::FilePath(),
- profiles::USER_MANAGER_NO_TUTORIAL,
profiles::USER_MANAGER_SELECT_PROFILE_ABOUT_CHROME);
}
}

Powered by Google App Engine
This is Rietveld 408576698