Chromium Code Reviews| 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 0240245ae84447acc076e77d6d74a154913c7d72..0919d627b22b1578f43d22729f9e8a33be04306c 100644 |
| --- a/chrome/browser/net/sdch_dictionary_fetcher.h |
| +++ b/chrome/browser/net/sdch_dictionary_fetcher.h |
| @@ -20,20 +20,20 @@ |
| #include "net/base/sdch_manager.h" |
|
wtc
2011/02/02 01:42:03
We may be able to remove this header, now that you
|
| class SdchDictionaryFetcher : public URLFetcher::Delegate, |
| - public SdchFetcher { |
| + public net::SdchFetcher { |
| public: |
| SdchDictionaryFetcher(); |
| virtual ~SdchDictionaryFetcher(); |
| + // Stop fetching dictionaries, and abandon any current URLFetcheer operations |
| + // so that the IO thread can be stopped. |
| + static void Shutdown(); |
| + |
| // Implementation of SdchFetcher class. |
| // This method gets the requested dictionary, and then calls back into the |
| // SdchManager class with the dictionary's text. |
| virtual void Schedule(const GURL& dictionary_url); |
| - // Stop fetching dictionaries, and abandon any current URLFetcheer operations |
| - // so that the IO thread can be stopped. |
| - static void Shutdown() { SdchManager::Shutdown(); } |
| - |
| private: |
| // Delay in ms between Schedule and actual download. |
| // This leaves the URL in a queue, which is de-duped, so that there is less |