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

Issue 2176503003: Intercept iTunes links and open iTunes controller. (Closed)

Created:
4 years, 5 months ago by jif
Modified:
4 years, 5 months ago
Reviewers:
sdefresne
CC:
chromium-reviews, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Intercept iTunes links and open iTunes controller. The goal of this CL is to workaround a bug where Apple serves the wrong content for itunes.apple.com pages, see the associated bug report. This CL adds a class that observe navigation events. If a page concerning a product on the iTunes App Store is *loaded*, this class triggers the opening of a SKStoreProductViewController presenting the information of the said product. If Apple fixes what the server serves, than the iTunes App Store pages won't ever be loaded: the users will be automatically offered to open the App Store application. BUG=623016 Committed: https://crrev.com/aea5f5e7e1152f988059835305d4a996533160cc Cr-Commit-Position: refs/heads/master@{#407467}

Patch Set 1 #

Patch Set 2 : Fixed compile error. #

Total comments: 4

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -0 lines) Patch
M ios/chrome/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
A ios/chrome/browser/itunes_links/OWNERS View 1 chunk +3 lines, -0 lines 0 comments Download
A ios/chrome/browser/itunes_links/itunes_links_observer.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A ios/chrome/browser/itunes_links/itunes_links_observer.mm View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A ios/chrome/browser/itunes_links/itunes_links_observer_unittest.mm View 1 1 chunk +73 lines, -0 lines 0 comments Download
A ios/chrome/browser/storekit_launcher.h View 1 chunk +17 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
jif
ptal. I got all the necessary LGTM in a downstream CL: https://chromereviews.googleplex.com/467197014/
4 years, 5 months ago (2016-07-22 09:17:30 UTC) #5
jif
ping
4 years, 5 months ago (2016-07-25 08:53:44 UTC) #10
sdefresne
lgtm https://codereview.chromium.org/2176503003/diff/20001/ios/chrome/browser/itunes_links/itunes_links_observer.h File ios/chrome/browser/itunes_links/itunes_links_observer.h (right): https://codereview.chromium.org/2176503003/diff/20001/ios/chrome/browser/itunes_links/itunes_links_observer.h#newcode23 ios/chrome/browser/itunes_links/itunes_links_observer.h:23: // content for itunes.apple.com pages, see crbug.com/623016. nit: ...
4 years, 5 months ago (2016-07-25 12:05:37 UTC) #11
jif
thanks https://codereview.chromium.org/2176503003/diff/20001/ios/chrome/browser/itunes_links/itunes_links_observer.h File ios/chrome/browser/itunes_links/itunes_links_observer.h (right): https://codereview.chromium.org/2176503003/diff/20001/ios/chrome/browser/itunes_links/itunes_links_observer.h#newcode23 ios/chrome/browser/itunes_links/itunes_links_observer.h:23: // content for itunes.apple.com pages, see crbug.com/623016. On ...
4 years, 5 months ago (2016-07-25 12:58:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2176503003/40001
4 years, 5 months ago (2016-07-25 12:58:43 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-25 13:55:22 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 13:56:42 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aea5f5e7e1152f988059835305d4a996533160cc
Cr-Commit-Position: refs/heads/master@{#407467}

Powered by Google App Engine
This is Rietveld 408576698