Commit e5da675d authored by harrisonsean's avatar harrisonsean Committed by Commit Bot

[iOS][Safety Check] Add password check referrer recording

Add referrer recording for the password check issues page

Bug: 1078782
Change-Id: Ie7ca81d5283fc77813864b21c8439acbafadf2fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485160Reviewed-by: default avatarViktor Semeniuk <vsemeniuk@google.com>
Commit-Queue: Sean Harrison <harrisonsean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#818855}
parent 666e96ef
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "base/time/time.h" #include "base/time/time.h"
#include "base/version.h" #include "base/version.h"
#include "components/password_manager/core/browser/leak_detection_dialog_utils.h" #include "components/password_manager/core/browser/leak_detection_dialog_utils.h"
#include "components/password_manager/core/browser/ui/password_check_referrer.h"
#include "components/password_manager/core/common/password_manager_features.h" #include "components/password_manager/core/common/password_manager_features.h"
#include "components/prefs/pref_service.h" #include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h" #include "components/safe_browsing/core/common/safe_browsing_prefs.h"
...@@ -373,6 +374,8 @@ constexpr double kSafeBrowsingRowMinDelay = 1.75; ...@@ -373,6 +374,8 @@ constexpr double kSafeBrowsingRowMinDelay = 1.75;
base::UmaHistogramEnumeration( base::UmaHistogramEnumeration(
kSafetyCheckInteractions, kSafetyCheckInteractions,
SafetyCheckInteractions::kPasswordsManage); SafetyCheckInteractions::kPasswordsManage);
password_manager::LogPasswordCheckReferrer(
password_manager::PasswordCheckReferrer::kSafetyCheck);
[self.handler showPasswordIssuesPage]; [self.handler showPasswordIssuesPage];
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment