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

Unified Diff: components/safe_browsing/password_protection/password_protection_request.h

Issue 2905343002: Show interstitial on a password on focus ping with PHISHING verdict. (Closed)
Patch Set: nit Created 3 years, 7 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
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 89fcf772f4106149d7f3a54b8968350b20fcfc67..2bb4499ebd267c1ab1b16a65246d593c521d4f5f 100644
--- a/components/safe_browsing/password_protection/password_protection_request.h
+++ b/components/safe_browsing/password_protection/password_protection_request.h
@@ -67,7 +67,15 @@ class PasswordProtectionRequest : public base::RefCountedThreadSafe<
GURL main_frame_url() const { return main_frame_url_; }
- LoginReputationClientRequest* request_proto() { return request_proto_.get(); }
+ const LoginReputationClientRequest* request_proto() const {
+ return request_proto_.get();
+ }
+
+ content::WebContents* web_contents() const { return web_contents_; }
+
+ LoginReputationClientRequest::TriggerType request_type() const {
+ return request_type_;
+ }
private:
friend class base::RefCountedThreadSafe<PasswordProtectionRequest>;
« no previous file with comments | « components/safe_browsing/csd.proto ('k') | components/safe_browsing/password_protection/password_protection_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698