blob: 7f660e9b6953d789a0b45eb4b09bc0984bd23a09 [file] [log] [blame]
// 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_