Index: chrome/browser/chromeos/login/profile_image_downloader.h |
=================================================================== |
--- chrome/browser/chromeos/login/profile_image_downloader.h (revision 106795) |
+++ chrome/browser/chromeos/login/profile_image_downloader.h (working copy) |
@@ -11,15 +11,15 @@ |
#include "base/basictypes.h" |
#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/chromeos/login/image_decoder.h" |
-#include "content/common/net/url_fetcher.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
+#include "content/public/common/url_fetcher_delegate.h" |
#include "googleurl/src/gurl.h" |
namespace chromeos { |
// Downloads user profile image, decodes it in a sandboxed process. |
-class ProfileImageDownloader : public URLFetcher::Delegate, |
+class ProfileImageDownloader : public content::URLFetcherDelegate, |
public ImageDecoder::Delegate, |
public content::NotificationObserver { |
public: |
@@ -44,13 +44,8 @@ |
void Start(); |
private: |
- // Overriden from URLFetcher::Delegate: |
- 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; |
+ // Overriden from content::URLFetcherDelegate: |
+ virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE; |
// Overriden from ImageDecoder::Delegate: |
virtual void OnImageDecoded(const ImageDecoder* decoder, |