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

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

Issue 2453633006: [downloads] Move platform specific code out of DownloadTargetDeterminer. (Closed)
Patch Set: . Created 3 years, 9 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..b1bb713f09ac3b8b8b7c03c116bee3a070254667
--- /dev/null
+++ b/chrome/browser/download/download_target_info.cc
@@ -0,0 +1,16 @@
+// Copyright 2016 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/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(content::DOWNLOAD_INTERRUPT_REASON_NONE) {}
+
+DownloadTargetInfo::~DownloadTargetInfo() {}
« no previous file with comments | « chrome/browser/download/download_target_info.h ('k') | chrome/browser/download/download_test_file_activity_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698