| Index: components/safe_browsing/password_protection/password_protection_request.h
|
| diff --git a/components/safe_browsing/password_protection/password_protection_request.h b/components/safe_browsing/password_protection/password_protection_request.h
|
| index 321d95696047af262719daeaf6c0b8c4e9f03435..4995b3d4c3ea09db84a194db39e06d9500023187 100644
|
| --- a/components/safe_browsing/password_protection/password_protection_request.h
|
| +++ b/components/safe_browsing/password_protection/password_protection_request.h
|
| @@ -43,6 +43,7 @@ class PasswordProtectionRequest : public base::RefCountedThreadSafe<
|
| PasswordProtectionRequest(const GURL& main_frame_url,
|
| const GURL& password_form_action,
|
| const GURL& password_form_frame_url,
|
| + const std::string& saved_domain,
|
| LoginReputationClientRequest::TriggerType type,
|
| PasswordProtectionService* pps,
|
| int request_timeout_in_ms);
|
| @@ -65,6 +66,8 @@ class PasswordProtectionRequest : public base::RefCountedThreadSafe<
|
|
|
| GURL main_frame_url() const { return main_frame_url_; }
|
|
|
| + LoginReputationClientRequest* request_proto() { return request_proto_.get(); }
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<PasswordProtectionRequest>;
|
| friend struct content::BrowserThread::DeleteOnThread<
|
| @@ -109,6 +112,9 @@ class PasswordProtectionRequest : public base::RefCountedThreadSafe<
|
| // Frame url of the detected password form.
|
| const GURL password_form_frame_url_;
|
|
|
| + // Domain on which a password is saved and gets reused.
|
| + const std::string saved_domain_;
|
| +
|
| // If this request is for unfamiliar login page or for a password reuse event.
|
| const LoginReputationClientRequest::TriggerType request_type_;
|
|
|
|
|