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

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

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 2 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: chrome/browser/safe_browsing/download_protection_service.h
===================================================================
--- chrome/browser/safe_browsing/download_protection_service.h (revision 107061)
+++ chrome/browser/safe_browsing/download_protection_service.h (working copy)
@@ -66,7 +66,7 @@
net::URLRequestContextGetter* request_context_getter);
// From the content::URLFetcherDelegate interface.
- virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
// Checks whether the given client download is likely to be
// malicious or not. If this method returns true it means the
@@ -145,7 +145,9 @@
// Map of client download request to the corresponding callback that
// has to be invoked when the request is done. This map contains all
// pending server requests.
- std::map<const URLFetcher*, CheckDownloadCallback> download_requests_;
+ typedef std::map<const content::URLFetcher*, CheckDownloadCallback>
+ DownloadRequests;
+ DownloadRequests download_requests_;
// Keeps track of the state of the service.
bool enabled_;

Powered by Google App Engine
This is Rietveld 408576698