blob: 547eab7d370b99a135b49a86815ae319b1e3912e [file] [log] [blame]
[email protected]87ac1562014-02-26 17:50:461// Copyright 2014 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
5#include "chrome/browser/download/download_permission_request.h"
6
[email protected]af39f002014-08-22 10:18:187#include "chrome/grit/generated_resources.h"
[email protected]87ac1562014-02-26 17:50:468#include "ui/base/l10n/l10n_util.h"
9
timloh178801f2017-06-13 04:17:5810#if defined(OS_ANDROID)
11#include "chrome/browser/android/android_theme_resources.h"
Mugdha Lakhani6b39f5fd2018-11-23 11:19:0112#include "components/url_formatter/elide_url.h"
13#include "url/origin.h"
timloh178801f2017-06-13 04:17:5814#else
Mugdha Lakhanib6762162020-03-30 10:23:2515#include "components/vector_icons/vector_icons.h"
timloh178801f2017-06-13 04:17:5816#endif
17
[email protected]87ac1562014-02-26 17:50:4618DownloadPermissionRequest::DownloadPermissionRequest(
Min Qin357184a2019-06-25 16:31:4419 base::WeakPtr<DownloadRequestLimiter::TabDownloadState> host,
Min Qin5f2f6a12019-08-12 21:50:4820 const url::Origin& request_origin)
Min Qin357184a2019-06-25 16:31:4421 : host_(host), request_origin_(request_origin) {}
[email protected]87ac1562014-02-26 17:50:4622
23DownloadPermissionRequest::~DownloadPermissionRequest() {}
24
Clark DuVall