download_file_info.cc 515 B

123456789101112131415161718
  1. // Copyright (c) 2020 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. #include "ui/base/dragdrop/download_file_info.h"
  5. #include <utility>
  6. namespace ui {
  7. DownloadFileInfo::DownloadFileInfo(
  8. const base::FilePath& filename,
  9. std::unique_ptr<DownloadFileProvider> downloader)
  10. : filename(filename), downloader(std::move(downloader)) {}
  11. DownloadFileInfo::~DownloadFileInfo() = default;
  12. } // namespace ui