| 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 76cbf335ccc5c7b72dc69d8a45d6473cffacbd04..baf891e35927be9b33cde3ca048963f2c4c8a8d6 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
|
| @@ -8,6 +8,7 @@
|
| #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"
|
|
|
| namespace password_manager {
|
| class PasswordFormManager;
|
| @@ -33,13 +34,6 @@ class IOSChromeSavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| ~IOSChromeSavePasswordInfoBarDelegate() override;
|
|
|
| private:
|
| - enum ResponseType {
|
| - NO_RESPONSE = 0,
|
| - REMEMBER_PASSWORD,
|
| - DO_NOT_REMEMBER_PASSWORD,
|
| - NUM_RESPONSE_TYPES,
|
| - };
|
| -
|
| IOSChromeSavePasswordInfoBarDelegate(
|
| bool is_smart_lock_branding_enabled,
|
| scoped_ptr<password_manager::PasswordFormManager> form_to_save);
|
| @@ -60,7 +54,7 @@ class IOSChromeSavePasswordInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| scoped_ptr<password_manager::PasswordFormManager> form_to_save_;
|
|
|
| // Used to track the results we get from the info bar.
|
| - ResponseType infobar_response_;
|
| + password_manager::metrics_util::ResponseType infobar_response_;
|
|
|
| // Whether to show the password manager branded as Smart Lock.
|
| bool is_smart_lock_branding_enabled_;
|
|
|