OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef IOS_CHROME_BROWSER_OPEN_URL_UTIL_H_ | |
6 #define IOS_CHROME_BROWSER_OPEN_URL_UTIL_H_ | |
7 | |
8 #import <Foundation/Foundation.h> | |
9 | |
10 // Wrapper method for UIApplication openURL() that uses | |
11 // the non-deprecated method when it is available (iOS10+). | |
12 void OpenURLWithCompletionHandler(NSURL* url, | |
Eugene But (OOO till 7-30)
2016/09/14 20:20:07
Per comment in downstream CL:
s/OpenURLWithComple
sczs
2016/09/15 20:35:47
Done.
| |
13 void (^completion_handler)(BOOL success)); | |
14 | |
15 #endif // IOS_CHROME_BROWSER_OPEN_URL_UTIL_H_ | |
OLD | NEW |