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

Issue 7820003: Add support to download web store promo logos over https. (Closed)

Created:
9 years, 3 months ago by jstritar
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Erik does not do reviews, jam, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, Paweł Hajdan Jr., estade+watch_chromium.org
Visibility:
Public.

Description

Add support to download web store promo logos over https. This lets you define apps promo logos as https URLs in the promo feed. The AppsPromoLogoDownloader only downloads the image over https and from *.google.com domains. AppsPromo caches the image until the URL changes in the promo feed. BUG=84506 TEST=*Promo* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100089

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 16

Patch Set 3 : feedback #

Patch Set 4 : dcheck #

Total comments: 2

Patch Set 5 : feedback #

Patch Set 6 : rebase #

Patch Set 7 : fix sync failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+553 lines, -223 lines) Patch
M chrome/browser/extensions/apps_promo.h View 1 2 3 4 3 chunks +65 lines, -35 lines 0 comments Download
M chrome/browser/extensions/apps_promo.cc View 1 2 3 4 7 chunks +163 lines, -62 lines 0 comments Download
M chrome/browser/extensions/apps_promo_unittest.cc View 1 2 10 chunks +70 lines, -69 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 5 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.h View 1 2 3 4 6 chunks +19 lines, -7 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service.cc View 1 2 3 4 3 chunks +12 lines, -19 lines 0 comments Download
M chrome/browser/web_resource/promo_resource_service_unittest.cc View 1 2 3 4 5 chunks +178 lines, -18 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/test_url_fetcher_factory.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_url_fetcher_factory.cc View 1 2 3 4 5 6 4 chunks +35 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jstritar
mirandac: Could you take a look at the PromoResourceService changes? mihaip: Could you review the ...
9 years, 3 months ago (2011-08-31 20:41:28 UTC) #1
Mihai Parparita -not on Chrome
http://codereview.chromium.org/7820003/diff/1001/chrome/browser/extensions/apps_promo.h File chrome/browser/extensions/apps_promo.h (right): http://codereview.chromium.org/7820003/diff/1001/chrome/browser/extensions/apps_promo.h#newcode53 chrome/browser/extensions/apps_promo.h:53: std::string expire; A comment pointing to PromoResourceService::UnpackWebStoreSignal for descriptions ...
9 years, 3 months ago (2011-08-31 23:26:23 UTC) #2
Miranda Callahan
PromoResourceService changes LGTM with nit. I like the struct for apps promo data; we should ...
9 years, 3 months ago (2011-09-01 07:43:38 UTC) #3
jstritar
http://codereview.chromium.org/7820003/diff/1001/chrome/browser/extensions/apps_promo.cc File chrome/browser/extensions/apps_promo.cc (right): http://codereview.chromium.org/7820003/diff/1001/chrome/browser/extensions/apps_promo.cc#newcode30 chrome/browser/extensions/apps_promo.cc:30: // The default promo data (this is only used ...
9 years, 3 months ago (2011-09-01 16:10:13 UTC) #4
Mihai Parparita -not on Chrome
http://codereview.chromium.org/7820003/diff/10011/chrome/browser/extensions/apps_promo.cc File chrome/browser/extensions/apps_promo.cc (right): http://codereview.chromium.org/7820003/diff/10011/chrome/browser/extensions/apps_promo.cc#newcode340 chrome/browser/extensions/apps_promo.cc:340: AppsPromo::SetSourcePromoLogoURL(GURL()); Given that you're resetting the source URL if ...
9 years, 3 months ago (2011-09-02 03:02:21 UTC) #5
jstritar
http://codereview.chromium.org/7820003/diff/10011/chrome/browser/extensions/apps_promo.cc File chrome/browser/extensions/apps_promo.cc (right): http://codereview.chromium.org/7820003/diff/10011/chrome/browser/extensions/apps_promo.cc#newcode340 chrome/browser/extensions/apps_promo.cc:340: AppsPromo::SetSourcePromoLogoURL(GURL()); On 2011/09/02 03:02:21, Mihai Parparita wrote: > Given ...
9 years, 3 months ago (2011-09-02 20:17:05 UTC) #6
Mihai Parparita -not on Chrome
LGTM
9 years, 3 months ago (2011-09-02 20:46:51 UTC) #7
commit-bot: I haz the power
9 years, 3 months ago (2011-09-08 03:06:05 UTC) #8
Change committed as 100089

Powered by Google App Engine
This is Rietveld 408576698