| Index: components/password_manager/core/browser/password_reuse_detector.cc
|
| diff --git a/components/password_manager/core/browser/password_reuse_detector.cc b/components/password_manager/core/browser/password_reuse_detector.cc
|
| index a06e94eb1838d049822ad0a581cecc05099f8d86..0af86ee45fb4ce49d054d8b5989680f4a1b6c5c3 100644
|
| --- a/components/password_manager/core/browser/password_reuse_detector.cc
|
| +++ b/components/password_manager/core/browser/password_reuse_detector.cc
|
| @@ -12,6 +12,7 @@
|
| #include "components/password_manager/core/browser/psl_matching_helper.h"
|
| #include "components/password_manager/core/common/password_manager_pref_names.h"
|
| #include "components/prefs/pref_service.h"
|
| +#include "components/safe_browsing/common/safebrowsing_constants.h"
|
| #include "google_apis/gaia/gaia_auth_util.h"
|
| #include "google_apis/gaia/gaia_urls.h"
|
| #include "url/origin.h"
|
| @@ -94,7 +95,8 @@ bool PasswordReuseDetector::CheckSyncPasswordReuse(
|
| base::StringPiece16 input_suffix(input.c_str() + i, input.size() - i);
|
| if (password_manager_util::Calculate37BitsOfSHA256Hash(input_suffix) ==
|
| sync_password_hash_.value()) {
|
| - consumer->OnReuseFound(input_suffix.as_string(), gaia_origin.host(), 1,
|
| + consumer->OnReuseFound(input_suffix.as_string(),
|
| + std::string(safe_browsing::kSyncPasswordDomain), 1,
|
| 0);
|
| return true;
|
| }
|
|
|