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

Unified Diff: chrome/browser/profiles/profile_window.h

Issue 2057203002: Bringing back fast user switching on desktop user menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sky's comments Created 4 years, 6 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/profiles/profile_window.h
diff --git a/chrome/browser/profiles/profile_window.h b/chrome/browser/profiles/profile_window.h
index 7af3715f49bff9f02f39f9fc120fd8a52206c325..78b0101fb866c34b0a17c83362a7841994ee26c8 100644
--- a/chrome/browser/profiles/profile_window.h
+++ b/chrome/browser/profiles/profile_window.h
@@ -98,12 +98,17 @@ bool HasProfileSwitchTargets(Profile* profile);
void CreateAndSwitchToNewProfile(ProfileManager::CreateCallback callback,
ProfileMetrics::ProfileAdd metric);
-// Closes all browser windows that belong to the guest profile.
+// Closes all browser windows that belong to the guest profile and opens the
+// user manager.
void CloseGuestProfileWindows();
-// Closes all the browser windows for |profile| and opens the user manager.
+// Closes and locks all the browser windows for |profile| and opens the user
+// manager.
void LockProfile(Profile* profile);
+// Close all the browser windows for |profile| and opens the user manager.
+void CloseProfileWindows(Profile* profile);
+
// Returns whether lock is available to this profile.
bool IsLockAvailable(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698