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

Unified Diff: chrome/browser/safe_browsing/threat_details_cache.h

Issue 1414343007: Collect threat details for phishing and UwS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 1 month 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: chrome/browser/safe_browsing/threat_details_cache.h
diff --git a/chrome/browser/safe_browsing/threat_details_cache.h b/chrome/browser/safe_browsing/threat_details_cache.h
index 417626430dc7436cbfbc77459f6847512ef08a6a..4e4a40ce5ee01e391816553aa6a30fc0bb6e58c3 100644
--- a/chrome/browser/safe_browsing/threat_details_cache.h
+++ b/chrome/browser/safe_browsing/threat_details_cache.h
@@ -29,7 +29,7 @@ namespace safe_browsing {
// Maps a URL to its Resource.
typedef base::hash_map<
std::string,
- linked_ptr<safe_browsing::ClientMalwareReportRequest::Resource>>
+ linked_ptr<safe_browsing::ClientSafeBrowsingReportRequest::Resource>>
ResourceMap;
}
@@ -85,7 +85,7 @@ class ThreatDetailsCacheCollector
scoped_ptr<net::URLFetcher> current_fetch_;
// Returns the resource from resources_ that corresponds to |url|
- safe_browsing::ClientMalwareReportRequest::Resource* GetResource(
+ safe_browsing::ClientSafeBrowsingReportRequest::Resource* GetResource(
const GURL& url);
// Creates a new URLFetcher and starts it.
@@ -93,12 +93,12 @@ class ThreatDetailsCacheCollector
// Read the HTTP response from |source| and add it to |pb_resource|.
void ReadResponse(
- safe_browsing::ClientMalwareReportRequest::Resource* pb_resource,
+ safe_browsing::ClientSafeBrowsingReportRequest::Resource* pb_resource,
const net::URLFetcher* source);
// Read the body |data| and add it to |pb_resource|.
void ReadData(
- safe_browsing::ClientMalwareReportRequest::Resource* pb_resource,
+ safe_browsing::ClientSafeBrowsingReportRequest::Resource* pb_resource,
const std::string& data);
// Called when we are done.

Powered by Google App Engine
This is Rietveld 408576698