| Index: chrome/browser/android/download/download_overwrite_info.cc
|
| diff --git a/chrome/browser/android/download/download_overwrite_info.cc b/chrome/browser/android/download/download_overwrite_info.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..50f52397cf16957d149eca79abc9a45b5e79f13b
|
| --- /dev/null
|
| +++ b/chrome/browser/android/download/download_overwrite_info.cc
|
| @@ -0,0 +1,42 @@
|
| +// Copyright (c) 2015 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.
|
| +
|
| +#include "chrome/browser/android/download/download_overwrite_info.h"
|
| +
|
| +namespace chrome {
|
| +namespace android {
|
| +
|
| +DownloadOverwriteInfo::DownloadOverwriteInfo(std::string file_name,
|
| + std::string dir_name,
|
| + std::string dir_full_path,
|
| + std::string url,
|
| + std::string content_disposition,
|
| + std::string user_agent,
|
| + std::string cookie,
|
| + std::string referer,
|
| + bool has_user_gesture,
|
| + std::string mime_type,
|
| + int64 content_length,
|
| + bool is_GET_request)
|
| + : file_name(file_name),
|
| + dir_name(dir_name),
|
| + dir_full_path(dir_full_path),
|
| + url(url),
|
| + content_disposition(content_disposition),
|
| + user_agent(user_agent),
|
| + cookie(cookie),
|
| + referer(referer),
|
| + has_user_gesture(has_user_gesture),
|
| + mime_type(mime_type),
|
| + content_length(content_length),
|
| + is_GET_request(is_GET_request),
|
| + overwrite(false),
|
| + dismissed(false) {
|
| +}
|
| +
|
| +DownloadOverwriteInfo::~DownloadOverwriteInfo() {
|
| +}
|
| +
|
| +} // namespace android
|
| +} // namespace chrome
|
|
|