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

Unified Diff: chrome/browser/extensions/extension_updater.h

Issue 8373021: Convert URLFetcher::Delegates to use an interface in content/public/common. Also remove the old U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and remove unncessary forward declares Created 9 years, 2 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
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.

Powered by Google App Engine
This is Rietveld 408576698