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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_UNSAFE_RESOURCE_H_ 5 #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_UNSAFE_RESOURCE_H_
6 #define COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_UNSAFE_RESOURCE_H_ 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_UNSAFE_RESOURCE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 GURL original_url; 60 GURL original_url;
61 std::vector<GURL> redirect_urls; 61 std::vector<GURL> redirect_urls;
62 bool is_subresource; 62 bool is_subresource;
63 bool is_subframe; 63 bool is_subframe;
64 safe_browsing::SBThreatType threat_type; 64 safe_browsing::SBThreatType threat_type;
65 safe_browsing::ThreatMetadata threat_metadata; 65 safe_browsing::ThreatMetadata threat_metadata;
66 UrlCheckCallback callback; // This is called back on |callback_thread|. 66 UrlCheckCallback callback; // This is called back on |callback_thread|.
67 scoped_refptr<base::SingleThreadTaskRunner> callback_thread; 67 scoped_refptr<base::SingleThreadTaskRunner> callback_thread;
68 base::Callback<content::WebContents*(void)> web_contents_getter; 68 base::Callback<content::WebContents*(void)> web_contents_getter;
69 safe_browsing::ThreatSource threat_source; 69 safe_browsing::ThreatSource threat_source;
70 // |token| field is only set if |threat_type| is
71 // SB_THREAT_TYPE_PASSWORD_PROTECTION_PHISHING_URL
72 std::string token;
70 }; 73 };
71 74
72 } // security_interstitials 75 } // security_interstitials
73 76
74 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_UNSAFE_RESOURCE_H_ 77 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_UNSAFE_RESOURCE_H_
OLDNEW
« 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