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

Unified Diff: chrome/browser/app_controller_mac.h

Issue 585653002: After locking a profile and showing the User Manager, make Guest the active profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't do anything if you're already a guest profile Created 6 years, 3 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/app_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.h
diff --git a/chrome/browser/app_controller_mac.h b/chrome/browser/app_controller_mac.h
index 7707f10b936e3a5f715ccf289fc74da009bd76c1..8e4eccf86d5cac9938ff0526204211d5b34bfedc 100644
--- a/chrome/browser/app_controller_mac.h
+++ b/chrome/browser/app_controller_mac.h
@@ -142,6 +142,12 @@ class WorkAreaWatcherObserver;
// apps.
- (void)initAppShimMenuController;
+// Called when the user has changed browser windows, meaning the backing profile
+// may have changed. This can cause a rebuild of the user-data menus. This is a
+// no-op if the new profile is the same as the current one. This will always be
+// the original profile and never incognito.
+- (void)windowChangedToProfile:(Profile*)profile;
+
@end
#endif // __OBJC__
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698