Index: chrome/browser/safe_browsing/protocol_manager.h |
=================================================================== |
--- chrome/browser/safe_browsing/protocol_manager.h (revision 106929) |
+++ chrome/browser/safe_browsing/protocol_manager.h (working copy) |
@@ -25,7 +25,7 @@ |
#include "chrome/browser/safe_browsing/protocol_parser.h" |
#include "chrome/browser/safe_browsing/safe_browsing_service.h" |
#include "chrome/browser/safe_browsing/safe_browsing_util.h" |
-#include "content/common/net/url_fetcher.h" |
+#include "content/public/common/url_fetcher_delegate.h" |
namespace net { |
class URLRequestStatus; |
@@ -63,7 +63,7 @@ |
DISALLOW_COPY_AND_ASSIGN(SBProtocolManagerFactory); |
}; |
-class SafeBrowsingProtocolManager : public URLFetcher::Delegate { |
+class SafeBrowsingProtocolManager : public content::URLFetcherDelegate { |
FRIEND_TEST_ALL_PREFIXES(SafeBrowsingProtocolManagerTest, TestBackOffTimes); |
FRIEND_TEST_ALL_PREFIXES(SafeBrowsingProtocolManagerTest, TestChunkStrings); |
FRIEND_TEST_ALL_PREFIXES(SafeBrowsingProtocolManagerTest, TestGetHashUrl); |
@@ -102,13 +102,8 @@ |
// of the SafeBrowsing service. |
virtual void Initialize(); |
- // URLFetcher::Delegate interface. |
- 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; |
+ // content::URLFetcherDelegate interface. |
+ virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE; |
// API used by the SafeBrowsingService for issuing queries. When the results |
// are available, SafeBrowsingService::HandleGetHashResults is called. |