cwv_download_task_internal.h 637 B

123456789101112131415161718192021222324252627
  1. // Copyright 2018 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. #ifndef IOS_WEB_VIEW_INTERNAL_CWV_DOWNLOAD_TASK_INTERNAL_H_
  5. #define IOS_WEB_VIEW_INTERNAL_CWV_DOWNLOAD_TASK_INTERNAL_H_
  6. #include <memory>
  7. #import "ios/web_view/public/cwv_download_task.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. namespace web {
  10. class DownloadTask;
  11. }
  12. @interface CWVDownloadTask ()
  13. - (instancetype)initWithInternalTask:
  14. (std::unique_ptr<web::DownloadTask>)internalTask;
  15. @end
  16. NS_ASSUME_NONNULL_END
  17. #endif // IOS_WEB_VIEW_INTERNAL_CWV_DOWNLOAD_TASK_INTERNAL_H_