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

Unified Diff: chrome/browser/extensions/apps_promo.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
Index: chrome/browser/extensions/apps_promo.h
diff --git a/chrome/browser/extensions/apps_promo.h b/chrome/browser/extensions/apps_promo.h
index 3b25f5fc72c4caa072322c617c77db4b76949ca3..2fad19b265355b15d094943d6266a6c66930cd73 100644
--- a/chrome/browser/extensions/apps_promo.h
+++ b/chrome/browser/extensions/apps_promo.h
@@ -11,11 +11,15 @@
#include "base/gtest_prod_util.h"
#include "chrome/common/extensions/extension.h"
-#include "content/public/common/url_fetcher_delegate.h"
+#include "net/url_request/url_fetcher_delegate.h"
class PrefService;
class Profile;
+namespace net {
+class URLFetcher;
+} // namespace net
+
// This encapsulates business logic for:
// - Whether to show the apps promo in the launcher
// - Whether to expire existing default apps
@@ -143,7 +147,7 @@ class AppsPromo {
// Fetches logos over HTTPS, making sure we don't send cookies and that we
// cache the image until its source URL changes.
-class AppsPromoLogoFetcher : public content::URLFetcherDelegate {
+class AppsPromoLogoFetcher : public net::URLFetcherDelegate {
public:
AppsPromoLogoFetcher(Profile* profile,
const AppsPromo::PromoData& promo_data);
@@ -167,7 +171,7 @@ class AppsPromoLogoFetcher : public content::URLFetcherDelegate {
Profile* profile_;
AppsPromo::PromoData promo_data_;
- scoped_ptr<content::URLFetcher> url_fetcher_;
+ scoped_ptr<net::URLFetcher> url_fetcher_;
};
#endif // CHROME_BROWSER_EXTENSIONS_APPS_PROMO_H_
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_setup.h ('k') | chrome/browser/extensions/updater/extension_downloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698