Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1331)

Unified Diff: chrome/browser/download/download_target_info.cc

Issue 2453633006: [downloads] Move platform specific code out of DownloadTargetDeterminer. (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_target_info.cc
diff --git a/chrome/browser/download/download_target_info.cc b/chrome/browser/download/download_target_info.cc
new file mode 100644
index 0000000000000000000000000000000000000000..cc88dbf7ff7a1a2b1e35c84a5e1a602c956ed6e7
--- /dev/null
+++ b/chrome/browser/download/download_target_info.cc
@@ -0,0 +1,16 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
svaldez 2016/10/28 17:29:36 2016
asanka 2016/11/07 19:50:15 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/download/download_target_info.h"
+
+#include "chrome/common/safe_browsing/file_type_policies.h"
+
+DownloadTargetInfo::DownloadTargetInfo()
+ : target_disposition(content::DownloadItem::TARGET_DISPOSITION_OVERWRITE),
+ danger_type(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS),
+ danger_level(safe_browsing::DownloadFileType::NOT_DANGEROUS),
+ is_filetype_handled_safely(false),
+ result(DownloadTargetResult::SUCCESS) {}
+
+DownloadTargetInfo::~DownloadTargetInfo() {}

Powered by Google App Engine
This is Rietveld 408576698