| Index: chrome/browser/alternate_nav_url_fetcher.h
|
| ===================================================================
|
| --- chrome/browser/alternate_nav_url_fetcher.h (revision 106795)
|
| +++ chrome/browser/alternate_nav_url_fetcher.h (working copy)
|
| @@ -9,7 +9,7 @@
|
| #include <string>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "content/common/net/url_fetcher.h"
|
| +#include "content/public/common/url_fetcher_delegate.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -33,7 +33,7 @@
|
| // * The intranet fetch fails
|
| // * None of the above apply, so we successfully show an infobar
|
| class AlternateNavURLFetcher : public content::NotificationObserver,
|
| - public URLFetcher::Delegate {
|
| + public content::URLFetcherDelegate {
|
| public:
|
| enum State {
|
| NOT_STARTED,
|
| @@ -53,13 +53,8 @@
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| - // 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;
|
| + // content::URLFetcherDelegate
|
| + virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
|
|
|
| // Sets |controller_| to the supplied pointer and begins fetching
|
| // |alternate_nav_url_|.
|
|
|