| // Copyright 2021 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef IOS_CHROME_BROWSER_DOWNLOAD_SAFARI_DOWNLOAD_TAB_HELPER_DELEGATE_H_ |
| #define IOS_CHROME_BROWSER_DOWNLOAD_SAFARI_DOWNLOAD_TAB_HELPER_DELEGATE_H_ |
| |
| #import <Foundation/Foundation.h> |
| |
| // Delegate for SafariDownloadTabHelper class. |
| @protocol SafariDownloadTabHelperDelegate |
| |
| // Called to download .mobileconfig file, `fileURL` points to the .mobileconfig |
| // file that we are trying to download. `fileURL` cannot be nil. |
| - (void)presentMobileConfigAlertFromURL:(NSURL*)fileURL; |
| |
| // Called to download .ics file, `fileURL` points to the .ics |
| // file that we are trying to download. `fileURL` cannot be nil. |
| - (void)presentCalendarAlertFromURL:(NSURL*)fileURL; |
| |
| @end |
| |
| #endif // IOS_CHROME_BROWSER_DOWNLOAD_SAFARI_DOWNLOAD_TAB_HELPER_DELEGATE_H_ |