Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1638)

Unified Diff: chrome/browser/net/sdch_dictionary_fetcher.h

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/gaia/gaia_oauth_fetcher.cc ('k') | chrome/browser/policy/device_management_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/net/gaia/gaia_oauth_fetcher.cc ('k') | chrome/browser/policy/device_management_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698