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

Issue 2878813003: Prompts user before transferring to App Store (Closed)

Created:
3 years, 7 months ago by pkl (ping after 24h if needed)
Modified:
3 years, 7 months ago
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prompts user before transferring to App Store Uses more aggressive prompting like iOS 10.3. Prompts user even if user tapped on a link. In earlier versions of iOS, prompts are presented only if user did not tap on a link. BUG=707991 TEST=test links on browsingtest.appspot.com/external_url.html Review-Url: https://codereview.chromium.org/2878813003 Cr-Commit-Position: refs/heads/master@{#472597} Committed: https://chromium.googlesource.com/chromium/src/+/825edf8e5dadff7bce102fdf37d5be5128490c45

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : comments #

Total comments: 8

Patch Set 4 : clarified comments and renamed method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -45 lines) Patch
M ios/chrome/browser/web/external_app_launcher.mm View 1 2 3 6 chunks +60 lines, -45 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 13 (5 generated)
pkl (ping after 24h if needed)
PTAL. The doc in the crbug contains additional background of this change in prompting behavior ...
3 years, 7 months ago (2017-05-12 22:41:40 UTC) #2
Eugene But (OOO till 7-30)
Is it possible to write tests for your changes? https://codereview.chromium.org/2878813003/diff/40001/ios/chrome/browser/web/external_app_launcher.mm File ios/chrome/browser/web/external_app_launcher.mm (right): https://codereview.chromium.org/2878813003/diff/40001/ios/chrome/browser/web/external_app_launcher.mm#newcode86 ios/chrome/browser/web/external_app_launcher.mm:86: ...
3 years, 7 months ago (2017-05-12 22:53:51 UTC) #3
pkl (ping after 24h if needed)
Regarding adding tests, the performSelector delay makes it a bit tricky. I would rather try ...
3 years, 7 months ago (2017-05-12 23:16:11 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2878813003/diff/40001/ios/chrome/browser/web/external_app_launcher.mm File ios/chrome/browser/web/external_app_launcher.mm (right): https://codereview.chromium.org/2878813003/diff/40001/ios/chrome/browser/web/external_app_launcher.mm#newcode86 ios/chrome/browser/web/external_app_launcher.mm:86: - (void)openExternalAppWithPromptForURL:(NSDictionary<NSString*, id>*)params; On 2017/05/12 23:16:11, pkl -pls.ping.after.24h. ...
3 years, 7 months ago (2017-05-13 00:27:52 UTC) #5
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2878813003/diff/40001/ios/chrome/browser/web/external_app_launcher.mm File ios/chrome/browser/web/external_app_launcher.mm (right): https://codereview.chromium.org/2878813003/diff/40001/ios/chrome/browser/web/external_app_launcher.mm#newcode171 ios/chrome/browser/web/external_app_launcher.mm:171: } else { My understanding of this block ...
3 years, 7 months ago (2017-05-15 12:07:48 UTC) #6
pkl (ping after 24h if needed)
Thank you! Updated comments and renamed method to sync with changed functionality. https://codereview.chromium.org/2878813003/diff/40001/ios/chrome/browser/web/external_app_launcher.mm File ios/chrome/browser/web/external_app_launcher.mm ...
3 years, 7 months ago (2017-05-17 22:23:02 UTC) #7
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/2878813003/60001
3 years, 7 months ago (2017-05-17 22:24:52 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 23:16:33 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/825edf8e5dadff7bce102fdf37d5...

Powered by Google App Engine
This is Rietveld 408576698