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

Unified Diff: components/security_interstitials/content/unsafe_resource.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/security_interstitials/content/unsafe_resource.h
diff --git a/components/security_interstitials/content/unsafe_resource.h b/components/security_interstitials/content/unsafe_resource.h
index b26da33d121e9cd4c760616e7a352a8cd175edbe..bb10b65b57c2bbf9f721056c44f1449c9f3d4656 100644
--- a/components/security_interstitials/content/unsafe_resource.h
+++ b/components/security_interstitials/content/unsafe_resource.h
@@ -67,6 +67,9 @@ struct UnsafeResource {
scoped_refptr<base::SingleThreadTaskRunner> callback_thread;
base::Callback<content::WebContents*(void)> web_contents_getter;
safe_browsing::ThreatSource threat_source;
+ // |token| field is only set if |threat_type| is
+ // SB_THREAT_TYPE_PASSWORD_PROTECTION_PHISHING_URL
+ std::string token;
};
} // security_interstitials
« no previous file with comments | « components/safe_browsing_db/v4_protocol_manager_util.h ('k') | components/security_interstitials/content/unsafe_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698