| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 user_manager_started_showing_ = user_manager_started_showing; | 47 user_manager_started_showing_ = user_manager_started_showing; |
| 48 } | 48 } |
| 49 | 49 |
| 50 void LogTimeToOpen(); | 50 void LogTimeToOpen(); |
| 51 | 51 |
| 52 void ShowReauthDialog(content::BrowserContext* browser_context, | 52 void ShowReauthDialog(content::BrowserContext* browser_context, |
| 53 const std::string& email, | 53 const std::string& email, |
| 54 signin_metrics::Reason reason); | 54 signin_metrics::Reason reason); |
| 55 void CloseReauthDialog(); | 55 void CloseReauthDialog(); |
| 56 | 56 |
| 57 void DisplayErrorMessage(); |
| 58 |
| 59 void SetSigninProfilePath(const base::FilePath& profile_path); |
| 60 base::FilePath GetSigninProfilePath(); |
| 61 |
| 57 private: | 62 private: |
| 58 explicit UserManagerMac(Profile* profile); | 63 explicit UserManagerMac(Profile* profile); |
| 59 virtual ~UserManagerMac(); | 64 virtual ~UserManagerMac(); |
| 60 | 65 |
| 61 // Controller of the window. | 66 // Controller of the window. |
| 62 base::scoped_nsobject<UserManagerWindowController> window_controller_; | 67 base::scoped_nsobject<UserManagerWindowController> window_controller_; |
| 63 | 68 |
| 64 base::scoped_nsobject<ReauthDialogWindowController> reauth_window_; | 69 base::scoped_nsobject<ReauthDialogWindowController> reauth_window_; |
| 65 | 70 |
| 66 base::Time user_manager_started_showing_; | 71 base::Time user_manager_started_showing_; |
| 67 | 72 |
| 73 base::FilePath signin_profile_path_; |
| 74 |
| 68 DISALLOW_COPY_AND_ASSIGN(UserManagerMac); | 75 DISALLOW_COPY_AND_ASSIGN(UserManagerMac); |
| 69 }; | 76 }; |
| 70 | 77 |
| 71 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ | 78 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_USER_MANAGER_MAC_H_ |
| OLD | NEW |