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

Unified Diff: chrome/browser/extensions/webstore_install_helper.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/webstore_install_helper.h
===================================================================
--- chrome/browser/extensions/webstore_install_helper.h (revision 106929)
+++ chrome/browser/extensions/webstore_install_helper.h (working copy)
@@ -7,7 +7,7 @@
#pragma once
#include "content/browser/utility_process_host.h"
-#include "content/common/net/url_fetcher.h"
+#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -19,12 +19,16 @@
class ListValue;
}
+namespace net {
+class URLRequestContextGetter;
+}
+
// This is a class to help dealing with webstore-provided data. It manages
// sending work to the utility process for parsing manifests and
// fetching/decoding icon data. Clients must implement the
// WebstoreInstallHelper::Delegate interface to receive the parsed data.
class WebstoreInstallHelper : public UtilityProcessHost::Client,
- public URLFetcher::Delegate {
+ public content::URLFetcherDelegate {
public:
class Delegate {
public:
@@ -64,7 +68,7 @@
void ReportResultsIfComplete();
void ReportResultFromUIThread();
- // Implementing the URLFetcher::Delegate interface.
+ // Implementing the content::URLFetcherDelegate interface.
virtual void OnURLFetchComplete(const URLFetcher* source) OVERRIDE;
// Implementing pieces of the UtilityProcessHost::Client interface.

Powered by Google App Engine
This is Rietveld 408576698