| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_SIGNIN_VIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/profile_chooser_constants.h" | 9 #include "chrome/browser/ui/profile_chooser_constants.h" |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 void ShowModalSyncConfirmationDialog(Browser* browser); | 36 void ShowModalSyncConfirmationDialog(Browser* browser); |
| 37 | 37 |
| 38 // Closes the tab-modal signin flow previously shown using this | 38 // Closes the tab-modal signin flow previously shown using this |
| 39 // SigninViewController, if one exists. Does nothing otherwise. | 39 // SigninViewController, if one exists. Does nothing otherwise. |
| 40 void CloseModalSignin(); | 40 void CloseModalSignin(); |
| 41 | 41 |
| 42 // Notifies this object that it's |signin_view_controller_delegate_| | 42 // Notifies this object that it's |signin_view_controller_delegate_| |
| 43 // member has become invalid. | 43 // member has become invalid. |
| 44 void ResetModalSigninDelegate(); | 44 void ResetModalSigninDelegate(); |
| 45 | 45 |
| 46 SigninViewControllerDelegate* delegate() { |
| 47 return signin_view_controller_delegate_; |
| 48 } |
| 49 |
| 46 private: | 50 private: |
| 47 SigninViewControllerDelegate* signin_view_controller_delegate_; | 51 SigninViewControllerDelegate* signin_view_controller_delegate_; |
| 48 | 52 |
| 49 DISALLOW_COPY_AND_ASSIGN(SigninViewController); | 53 DISALLOW_COPY_AND_ASSIGN(SigninViewController); |
| 50 }; | 54 }; |
| 51 | 55 |
| 52 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ | 56 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ |
| OLD | NEW |