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

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: Address review feedback 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..2ed8570d9c87a0c68b3dbab8be3b2b141683cdd9 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> reauthWindow_;
groby-ooo-7-16 2015/08/05 21:16:38 reauth_window_, please (Yes, the style interesect
anthonyvd 2015/08/06 19:08:04 Done.
+
base::Time user_manager_started_showing_;
DISALLOW_COPY_AND_ASSIGN(UserManagerMac);

Powered by Google App Engine
This is Rietveld 408576698