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

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

Issue 2580333003: Upstream Chrome on iOS source code [10/11]. (Closed)
Patch Set: Created 4 years 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
Index: ios/chrome/browser/web/external_app_launcher_disabler.mm
diff --git a/ios/chrome/browser/web/external_app_launcher_disabler.mm b/ios/chrome/browser/web/external_app_launcher_disabler.mm
new file mode 100644
index 0000000000000000000000000000000000000000..ec4a0c317e56bea2374e59c150a2b3055c320b73
--- /dev/null
+++ b/ios/chrome/browser/web/external_app_launcher_disabler.mm
@@ -0,0 +1,17 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/chrome/browser/web/external_app_launcher_disabler.h"
+
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
+@implementation ExternalAppLauncherDisabler
+
+- (BOOL)openURL:(const GURL&)gurl {
+ return NO;
+}
+
+@end
« no previous file with comments | « ios/chrome/browser/web/external_app_launcher_disabler.h ('k') | ios/chrome/browser/web/external_app_launcher_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698