| Index: chrome/browser/extensions/extension_updater.h
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_updater.h (revision 106929)
|
| +++ chrome/browser/extensions/extension_updater.h (working copy)
|
| @@ -23,7 +23,7 @@
|
| #include "base/timer.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/common/extensions/update_manifest.h"
|
| -#include "content/common/net/url_fetcher.h"
|
| +#include "content/public/common/url_fetcher_delegate.h"
|
| #include "googleurl/src/gurl.h"
|
|
|
| class Extension;
|
| @@ -33,6 +33,10 @@
|
| class Profile;
|
| class SafeManifestParser;
|
|
|
| +namespace net {
|
| +class URLRequestStatus;
|
| +}
|
| +
|
| // To save on server resources we can request updates for multiple extensions
|
| // in one manifest check. This class helps us keep track of the id's for a
|
| // given fetch, building up the actual URL, and what if anything to include
|
| @@ -165,7 +169,7 @@
|
| // updater->Start();
|
| // ....
|
| // updater->Stop();
|
| -class ExtensionUpdater : public URLFetcher::Delegate,
|
| +class ExtensionUpdater : public content::URLFetcherDelegate,
|
| public content::NotificationObserver {
|
| public:
|
| // Holds a pointer to the passed |service|, using it for querying installed
|
| @@ -250,7 +254,7 @@
|
| // Computes when to schedule the first update check.
|
| base::TimeDelta DetermineFirstCheckDelay();
|
|
|
| - // URLFetcher::Delegate interface.
|
| + // content::URLFetcherDelegate interface.
|
| virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
|
|
|
| // These do the actual work when a URL fetch completes.
|
|
|