| // Copyright 2018 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_WEB_VIEW_INTERNAL_CWV_DOWNLOAD_TASK_INTERNAL_H_ |
| #define IOS_WEB_VIEW_INTERNAL_CWV_DOWNLOAD_TASK_INTERNAL_H_ |
| |
| #include <memory> |
| |
| #import "ios/web_view/public/cwv_download_task.h" |
| |
| NS_ASSUME_NONNULL_BEGIN |
| |
| namespace web { |
| class DownloadTask; |
| } |
| |
| @interface CWVDownloadTask () |
| |
| - (instancetype)initWithInternalTask: |
| (std::unique_ptr<web::DownloadTask>)internalTask; |
| |
| @end |
| |
| NS_ASSUME_NONNULL_END |
| |
| #endif // IOS_WEB_VIEW_INTERNAL_CWV_DOWNLOAD_TASK_INTERNAL_H_ |