Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1208)

Unified Diff: ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.h

Issue 1777473004: Use password_manager::metrics_util::ResponseType on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | ios/chrome/browser/passwords/ios_chrome_save_password_infobar_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698