Index: chrome/browser/extensions/apps_promo.h |
diff --git a/chrome/browser/extensions/apps_promo.h b/chrome/browser/extensions/apps_promo.h |
index 2fad19b265355b15d094943d6266a6c66930cd73..14560ca19146f2c322730ad8d8b761d26c8b8d1d 100644 |
--- a/chrome/browser/extensions/apps_promo.h |
+++ b/chrome/browser/extensions/apps_promo.h |
@@ -145,33 +145,4 @@ class AppsPromo { |
DISALLOW_COPY_AND_ASSIGN(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 net::URLFetcherDelegate { |
- public: |
- AppsPromoLogoFetcher(Profile* profile, |
- const AppsPromo::PromoData& promo_data); |
- virtual ~AppsPromoLogoFetcher(); |
- |
- virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; |
- |
- private: |
- // Fetches the logo and stores the result as a data URL. |
- void FetchLogo(); |
- |
- // Checks if the logo was downloaded previously. |
- bool HaveCachedLogo(); |
- |
- // Sets the apps promo based on the current data and then issues the |
- // WEB_STORE_PROMO_LOADED notification so open NTPs can inject the promo. |
- void SavePromo(); |
- |
- // Checks if the promo logo matches https://*.google.com/*.png. |
- bool SupportsLogoURL(); |
- |
- Profile* profile_; |
- AppsPromo::PromoData promo_data_; |
- scoped_ptr<net::URLFetcher> url_fetcher_; |
-}; |
- |
#endif // CHROME_BROWSER_EXTENSIONS_APPS_PROMO_H_ |