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

Unified Diff: chrome/browser/extensions/updater/extension_downloader.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/extensions/apps_promo.h ('k') | chrome/browser/extensions/webstore_inline_installer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/updater/extension_downloader.h
diff --git a/chrome/browser/extensions/updater/extension_downloader.h b/chrome/browser/extensions/updater/extension_downloader.h
index bd885d104eb0ddf89e6137aa97169e04ec9f69f9..a95423baa068e235a43a184f8189fd84b28b70e9 100644
--- a/chrome/browser/extensions/updater/extension_downloader.h
+++ b/chrome/browser/extensions/updater/extension_downloader.h
@@ -20,12 +20,13 @@
#include "chrome/browser/extensions/updater/manifest_fetch_data.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/update_manifest.h"
-#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
+#include "net/url_request/url_fetcher_delegate.h"
class Version;
namespace net {
+class URLFetcher;
class URLRequestContextGetter;
class URLRequestStatus;
}
@@ -38,7 +39,7 @@ class ExtensionUpdaterTest;
// the crx file when updates are found. It uses a |ExtensionDownloaderDelegate|
// that takes ownership of the downloaded crx files, and handles events during
// the update check.
-class ExtensionDownloader : public content::URLFetcherDelegate {
+class ExtensionDownloader : public net::URLFetcherDelegate {
public:
// |delegate| is stored as a raw pointer and must outlive the
// ExtensionDownloader.
@@ -118,7 +119,7 @@ class ExtensionDownloader : public content::URLFetcherDelegate {
// Begins an update check. Takes ownership of |fetch_data|.
void StartUpdateCheck(ManifestFetchData* fetch_data);
- // content::URLFetcherDelegate implementation.
+ // net::URLFetcherDelegate implementation.
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
// Handles the result of a manifest fetch.
@@ -180,8 +181,8 @@ class ExtensionDownloader : public content::URLFetcherDelegate {
FetchMap fetches_preparing_;
// Outstanding url fetch requests for manifests and updates.
- scoped_ptr<content::URLFetcher> manifest_fetcher_;
- scoped_ptr<content::URLFetcher> extension_fetcher_;
+ scoped_ptr<net::URLFetcher> manifest_fetcher_;
+ scoped_ptr<net::URLFetcher> extension_fetcher_;
// Pending manifests and extensions to be fetched when the appropriate fetcher
// is available.
« no previous file with comments | « chrome/browser/extensions/apps_promo.h ('k') | chrome/browser/extensions/webstore_inline_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698