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

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

Issue 8373021: Convert URLFetcher::Delegates to use an interface in content/public/common. Also remove the old U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: take out CHECKs 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 106795)
+++ chrome/browser/safe_browsing/malware_details_cache.h (working copy)
@@ -17,7 +17,7 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/safe_browsing/report.pb.h"
-#include "content/common/net/url_fetcher.h"
+#include "content/public/common/url_fetcher_delegate.h"
#include "net/base/completion_callback.h"
namespace net {
@@ -36,7 +36,7 @@
class MalwareDetailsCacheCollector
: public base::RefCountedThreadSafe<MalwareDetailsCacheCollector>,
- public URLFetcher::Delegate {
+ public content::URLFetcherDelegate {
public:
MalwareDetailsCacheCollector();
@@ -57,12 +57,7 @@
protected:
// Implementation of URLFetcher::Delegate. Called after the request
// completes (either successfully or with failure).
- virtual void OnURLFetchComplete(const URLFetcher* source,
- const GURL& url,
- const net::URLRequestStatus& status,
- int response_code,
- const net::ResponseCookies& cookies,
- const std::string& data) OVERRIDE;
+ virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
private:
// Points to the url for which we are fetching the HTTP cache entry or

Powered by Google App Engine
This is Rietveld 408576698