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

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

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup Created 8 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: chrome/browser/safe_browsing/malware_details_cache.h
diff --git a/chrome/browser/safe_browsing/malware_details_cache.h b/chrome/browser/safe_browsing/malware_details_cache.h
index eaaa3c5fb377780f6f8b954f8377d35dca684e2c..291d0f90b63a37a40c7e9d07992942ae9c983fe8 100644
--- a/chrome/browser/safe_browsing/malware_details_cache.h
+++ b/chrome/browser/safe_browsing/malware_details_cache.h
@@ -17,10 +17,11 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/safe_browsing/report.pb.h"
-#include "content/public/common/url_fetcher_delegate.h"
#include "net/base/completion_callback.h"
+#include "net/url_request/url_fetcher_delegate.h"
namespace net {
+class URLFetcher;
class URLRequestContext;
}
@@ -34,7 +35,7 @@ typedef base::hash_map<
class MalwareDetailsCacheCollector
: public base::RefCountedThreadSafe<MalwareDetailsCacheCollector>,
- public content::URLFetcherDelegate {
+ public net::URLFetcherDelegate {
public:
MalwareDetailsCacheCollector();
@@ -82,7 +83,7 @@ class MalwareDetailsCacheCollector
scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
// The current URLFetcher.
- scoped_ptr<content::URLFetcher> current_fetch_;
+ scoped_ptr<net::URLFetcher> current_fetch_;
// Returns the resource from resources_ that corresponds to |url|
safe_browsing::ClientMalwareReportRequest::Resource* GetResource(
« no previous file with comments | « chrome/browser/safe_browsing/download_protection_service_unittest.cc ('k') | chrome/browser/safe_browsing/protocol_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698