| Index: ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.h
|
| diff --git a/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.h b/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.h
|
| index cf9117ee26c469e17d63a8a035fb62c09275dd5e..b3781078d43a723f9dffcf24094ac536797d8c21 100644
|
| --- a/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.h
|
| +++ b/ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.h
|
| @@ -5,8 +5,9 @@
|
| #ifndef IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_SAVE_PASSWORD_INFOBAR_DELEGATE_H_
|
| #define IOS_CHROME_BROWSER_PASSWORDS_IOS_CHROME_SAVE_PASSWORD_INFOBAR_DELEGATE_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "components/infobars/core/confirm_infobar_delegate.h"
|
| #include "components/password_manager/core/browser/password_manager_metrics_util.h"
|
|
|
| @@ -29,14 +30,14 @@ class IOSChromeSavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| static void Create(
|
| bool is_smart_lock_branding_enabled,
|
| infobars::InfoBarManager* infobar_manager,
|
| - scoped_ptr<password_manager::PasswordFormManager> form_to_save);
|
| + std::unique_ptr<password_manager::PasswordFormManager> form_to_save);
|
|
|
| ~IOSChromeSavePasswordInfoBarDelegate() override;
|
|
|
| private:
|
| IOSChromeSavePasswordInfoBarDelegate(
|
| bool is_smart_lock_branding_enabled,
|
| - scoped_ptr<password_manager::PasswordFormManager> form_to_save);
|
| + std::unique_ptr<password_manager::PasswordFormManager> form_to_save);
|
|
|
| // ConfirmInfoBarDelegate implementation.
|
| Type GetInfoBarType() const override;
|
| @@ -51,7 +52,7 @@ class IOSChromeSavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
|
|
|
| // The password_manager::PasswordFormManager managing the form we're asking
|
| // the user about, and should update as per her decision.
|
| - scoped_ptr<password_manager::PasswordFormManager> form_to_save_;
|
| + std::unique_ptr<password_manager::PasswordFormManager> form_to_save_;
|
|
|
| // Used to track the results we get from the info bar.
|
| password_manager::metrics_util::UIDismissalReason infobar_response_;
|
|
|