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

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

Issue 1261433013: Implement online reauth UI for Locked Profiles on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use ConstrainedWindow. Created 5 years, 4 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.h
diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac.h b/chrome/browser/ui/cocoa/profiles/user_manager_mac.h
index 63eb5b6fd76b8fbc28ae6cfb854fa8c1e011c1f6..662cd4c7ce4aadc1e1cbe8ed0ed3376893804211 100644
--- a/chrome/browser/ui/cocoa/profiles/user_manager_mac.h
+++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac.h
@@ -12,6 +12,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_window.h"
+@class ReauthDialogWindowController;
@class UserManagerWindowController;
namespace content {
@@ -45,6 +46,10 @@ class UserManagerMac {
void LogTimeToOpen();
+ void ShowReauthDialog(content::BrowserContext* browser_context,
+ const std::string& email);
+ void CloseReauthDialog();
+
private:
explicit UserManagerMac(Profile* profile);
virtual ~UserManagerMac();
@@ -52,6 +57,8 @@ class UserManagerMac {
// Controller of the window.
base::scoped_nsobject<UserManagerWindowController> window_controller_;
+ base::scoped_nsobject<ReauthDialogWindowController> reauth_window_;
+
base::Time user_manager_started_showing_;
DISALLOW_COPY_AND_ASSIGN(UserManagerMac);

Powered by Google App Engine
This is Rietveld 408576698