| Index: chrome/browser/net/sdch_dictionary_fetcher.h
|
| diff --git a/chrome/browser/net/sdch_dictionary_fetcher.h b/chrome/browser/net/sdch_dictionary_fetcher.h
|
| index 8deb288daaac262bbbe52b15f1f1277df9d0c37d..9a7f94341995cdd47d3acf253160294448916e24 100644
|
| --- a/chrome/browser/net/sdch_dictionary_fetcher.h
|
| +++ b/chrome/browser/net/sdch_dictionary_fetcher.h
|
| @@ -17,15 +17,16 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/non_thread_safe.h"
|
| -#include "content/public/common/url_fetcher_delegate.h"
|
| #include "net/base/sdch_manager.h"
|
| +#include "net/url_request/url_fetcher_delegate.h"
|
|
|
| namespace net {
|
| +class URLFetcher;
|
| class URLRequestContextGetter;
|
| } // namespace net
|
|
|
| class SdchDictionaryFetcher
|
| - : public content::URLFetcherDelegate,
|
| + : public net::URLFetcherDelegate,
|
| public net::SdchFetcher,
|
| public base::NonThreadSafe {
|
| public:
|
| @@ -55,7 +56,7 @@ class SdchDictionaryFetcher
|
| // in the |fetch_queue_|.
|
| void StartFetching();
|
|
|
| - // Implementation of content::URLFetcherDelegate. Called after transmission
|
| + // Implementation of net::URLFetcherDelegate. Called after transmission
|
| // completes (either successfully or with failure).
|
| virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
|
|
|
| @@ -63,7 +64,7 @@ class SdchDictionaryFetcher
|
| std::queue<GURL> fetch_queue_;
|
| // The currently outstanding URL fetch of a dicitonary.
|
| // If this is null, then there is no outstanding request.
|
| - scoped_ptr<content::URLFetcher> current_fetch_;
|
| + scoped_ptr<net::URLFetcher> current_fetch_;
|
|
|
| // Always spread out the dictionary fetches, so that they don't steal
|
| // bandwidth from the actual page load. Create delayed tasks to spread out
|
|
|