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

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..29eeb6be2d24f95eb5607f2c51e5ff03de7511a3 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(); }
+ LoginReputationClientRequest* request_proto() const {
Nathan Parker 2017/05/30 18:26:57 Could this be const*? Otherwise the caller could
Jialiu Lin 2017/05/30 19:12:48 Done.
+ 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>;

Powered by Google App Engine
This is Rietveld 408576698