| 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 IOS_CHROME_BROWSER_PASSWORDS_UPDATE_PASSWORD_INFOBAR_CONTROLLER_H_ | 5 #ifndef IOS_CHROME_BROWSER_PASSWORDS_UPDATE_PASSWORD_INFOBAR_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_PASSWORDS_UPDATE_PASSWORD_INFOBAR_CONTROLLER_H_ | 6 #define IOS_CHROME_BROWSER_PASSWORDS_UPDATE_PASSWORD_INFOBAR_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "ios/chrome/browser/infobars/confirm_infobar_controller.h" | 8 #include "ios/chrome/browser/infobars/confirm_infobar_controller.h" |
| 9 | 9 |
| 10 class IOSChromeUpdatePasswordInfoBarDelegate; | 10 class IOSChromeUpdatePasswordInfoBarDelegate; |
| 11 | 11 |
| 12 // Controller for the Update Password info bar. Presents an info bar that asks | 12 // Controller for the Update Password info bar. Presents an info bar that asks |
| 13 // the user whether they want to update their password. | 13 // the user whether they want to update their password. |
| 14 @interface UpdatePasswordInfoBarController : ConfirmInfoBarController | 14 @interface UpdatePasswordInfoBarController : ConfirmInfoBarController |
| 15 | 15 |
| 16 - (base::scoped_nsobject<UIView<InfoBarViewProtocol>>) | 16 - (UIView<InfoBarViewProtocol>*) |
| 17 viewForDelegate:(IOSChromeUpdatePasswordInfoBarDelegate*)delegate | 17 viewForDelegate:(IOSChromeUpdatePasswordInfoBarDelegate*)delegate |
| 18 frame:(CGRect)frame; | 18 frame:(CGRect)frame; |
| 19 | 19 |
| 20 @end | 20 @end |
| 21 | 21 |
| 22 #endif // IOS_CHROME_BROWSER_PASSWORDS_UPDATE_PASSWORD_INFOBAR_CONTROLLER_H_ | 22 #endif // IOS_CHROME_BROWSER_PASSWORDS_UPDATE_PASSWORD_INFOBAR_CONTROLLER_H_ |
| OLD | NEW |