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

Unified Diff: content/browser/download/download_state_info.cc

Issue 9351024: Clean up unused members and constructors from DownloadCreateInfo and DownloadSaveInfo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyright Created 8 years, 10 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
« no previous file with comments | « content/browser/download/download_state_info.h ('k') | content/browser/download/download_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_state_info.cc
diff --git a/content/browser/download/download_state_info.cc b/content/browser/download/download_state_info.cc
index dd26812317dfbef49c74439ff061fe6e1d52b3c9..0031eb3fbb36a465a0c81c4727c4db659c072a79 100644
--- a/content/browser/download/download_state_info.cc
+++ b/content/browser/download/download_state_info.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -14,25 +14,12 @@ DownloadStateInfo::DownloadStateInfo()
danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
}
-DownloadStateInfo::DownloadStateInfo(
- bool has_user_gesture,
- bool prompt_user_for_save_location)
+DownloadStateInfo::DownloadStateInfo(const FilePath& forced_name,
+ bool has_user_gesture,
+ content::PageTransition transition_type,
+ bool prompt_user_for_save_location)
: path_uniquifier(0),
has_user_gesture(has_user_gesture),
- transition_type(content::PAGE_TRANSITION_LINK),
- prompt_user_for_save_location(prompt_user_for_save_location),
- danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
-}
-
-DownloadStateInfo::DownloadStateInfo(
- const FilePath& target,
- const FilePath& forced_name,
- bool has_user_gesture,
- content::PageTransition transition_type,
- bool prompt_user_for_save_location)
- : target_name(target),
- path_uniquifier(0),
- has_user_gesture(has_user_gesture),
transition_type(transition_type),
prompt_user_for_save_location(prompt_user_for_save_location),
danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS),
« no previous file with comments | « content/browser/download/download_state_info.h ('k') | content/browser/download/download_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698