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

Unified Diff: ios/chrome/browser/open_url_util.h

Issue 2340873002: Creates open_url_util files (Closed)
Patch Set: Small formatting changes Created 4 years, 3 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/BUILD.gn ('k') | ios/chrome/browser/open_url_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/open_url_util.h
diff --git a/ios/chrome/browser/open_url_util.h b/ios/chrome/browser/open_url_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..7f660e9b6953d789a0b45eb4b09bc0984bd23a09
--- /dev/null
+++ b/ios/chrome/browser/open_url_util.h
@@ -0,0 +1,15 @@
+// Copyright 2016 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.
+
+#ifndef IOS_CHROME_BROWSER_OPEN_URL_UTIL_H_
+#define IOS_CHROME_BROWSER_OPEN_URL_UTIL_H_
+
+#import <Foundation/Foundation.h>
+
+// Wrapper method for UIApplication openURL() that uses
+// the non-deprecated method when it is available (iOS10+).
+void OpenUrlWithCompletionHandler(NSURL* url,
+ void (^completion_handler)(BOOL success));
+
+#endif // IOS_CHROME_BROWSER_OPEN_URL_UTIL_H_
« no previous file with comments | « ios/chrome/browser/BUILD.gn ('k') | ios/chrome/browser/open_url_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698