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

Unified Diff: chrome/browser/safe_browsing/malware_details_cache.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/malware_details_cache.h
===================================================================
--- chrome/browser/safe_browsing/malware_details_cache.h (revision 107061)
+++ chrome/browser/safe_browsing/malware_details_cache.h (working copy)
@@ -57,7 +57,7 @@
protected:
// Implementation of URLFetcher::Delegate. Called after the request
// completes (either successfully or with failure).
- virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
+ virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
private:
// Points to the url for which we are fetching the HTTP cache entry or
@@ -81,7 +81,7 @@
scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
// The current URLFetcher.
- scoped_ptr<URLFetcher> current_fetch_;
+ scoped_ptr<content::URLFetcher> current_fetch_;
// Returns the resource from resources_ that corresponds to |url|
safe_browsing::ClientMalwareReportRequest::Resource* GetResource(
@@ -93,7 +93,7 @@
// Read the HTTP response from |source| and add it to |pb_resource|.
void ReadResponse(
safe_browsing::ClientMalwareReportRequest::Resource* pb_resource,
- const URLFetcher* source);
+ const content::URLFetcher* source);
// Read the body |data| and add it to |pb_resource|.
void ReadData(
« no previous file with comments | « chrome/browser/safe_browsing/download_protection_service.cc ('k') | chrome/browser/safe_browsing/malware_details_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698