Index: chrome/browser/extensions/webstore_inline_installer.h |
diff --git a/chrome/browser/extensions/webstore_inline_installer.h b/chrome/browser/extensions/webstore_inline_installer.h |
index bd35456613a5855f0df8f4fa1ebf8b0442a1c3f5..4076209960dcf1d247aaab922172b711326db0af 100644 |
--- a/chrome/browser/extensions/webstore_inline_installer.h |
+++ b/chrome/browser/extensions/webstore_inline_installer.h |
@@ -15,8 +15,8 @@ |
#include "chrome/browser/extensions/webstore_install_helper.h" |
#include "chrome/browser/extensions/webstore_installer.h" |
#include "content/public/browser/web_contents_observer.h" |
-#include "content/public/common/url_fetcher_delegate.h" |
#include "googleurl/src/gurl.h" |
+#include "net/url_request/url_fetcher_delegate.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
class SafeWebstoreResponseParser; |
@@ -25,6 +25,10 @@ namespace extensions { |
class Extension; |
} |
+namespace net { |
+class URLFetcher; |
+} |
+ |
// Manages inline installs requested by a page (downloads and parses metadata |
// from the webstore, shows the install UI, starts the download once the user |
// confirms). Clients must implement the WebstoreInlineInstaller::Delegate |
@@ -35,7 +39,7 @@ class WebstoreInlineInstaller |
: public base::RefCountedThreadSafe<WebstoreInlineInstaller>, |
public ExtensionInstallUI::Delegate, |
public content::WebContentsObserver, |
- public content::URLFetcherDelegate, |
+ public net::URLFetcherDelegate, |
public WebstoreInstaller::Delegate, |
public WebstoreInstallHelper::Delegate { |
public: |
@@ -76,7 +80,7 @@ class WebstoreInlineInstaller |
// All flows (whether successful or not) end up in CompleteInstall, which |
// informs our delegate of success/failure. |
- // content::URLFetcherDelegate interface implementation. |
+ // net::URLFetcherDelegate interface implementation. |
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; |
// Client callbacks for SafeWebstoreResponseParser when parsing is complete. |
@@ -121,7 +125,7 @@ class WebstoreInlineInstaller |
scoped_ptr<ExtensionInstallUI> install_ui_; |
// For fetching webstore JSON data. |
- scoped_ptr<content::URLFetcher> webstore_data_url_fetcher_; |
+ scoped_ptr<net::URLFetcher> webstore_data_url_fetcher_; |
// Extracted from the webstore JSON data response. |
std::string localized_name_; |