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

Unified Diff: ios/chrome/browser/web/external_app_launcher.mm

Issue 2875153002: Remove Experimental Flag ExternalAppPromptDisabled (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ios/chrome/browser/resources/Settings.bundle/Experimental.plist ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/web/external_app_launcher.mm
diff --git a/ios/chrome/browser/web/external_app_launcher.mm b/ios/chrome/browser/web/external_app_launcher.mm
index d10f3d66aec9686906d461b5b453058042ca2628..20b9664a179f3a04190345d615830351f03f521a 100644
--- a/ios/chrome/browser/web/external_app_launcher.mm
+++ b/ios/chrome/browser/web/external_app_launcher.mm
@@ -177,15 +177,13 @@ NSString* PromptActionString(NSString* scheme) {
UIApplicationStateActive)
return NO;
- if (experimental_flags::IsExternalApplicationPromptEnabled()) {
- // Prompt user to open itunes when opening it is not a result of a link
- // click.
- if (!linkClicked && UrlHasAppStoreScheme(gURL)) {
- [self performSelector:@selector(openExternalAppWithPromptForURL:)
- withObject:URL
- afterDelay:0.0];
- return YES;
- }
+ // Prompt user to open itunes when opening it is not a result of a link
+ // click.
+ if (!linkClicked && UrlHasAppStoreScheme(gURL)) {
+ [self performSelector:@selector(openExternalAppWithPromptForURL:)
+ withObject:URL
+ afterDelay:0.0];
+ return YES;
}
// Replaces |URL| with a rewritten URL if it is of mailto: scheme.
« no previous file with comments | « ios/chrome/browser/resources/Settings.bundle/Experimental.plist ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698