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

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

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
Index: content/browser/download/download_state_info.h
diff --git a/content/browser/download/download_state_info.h b/content/browser/download/download_state_info.h
index 09318dc6840303a41c4fe7215f558c57d9c48f46..2768a5f3639f2152ab0577ca7f129d92c36d2ebd 100644
--- a/content/browser/download/download_state_info.h
+++ b/content/browser/download/download_state_info.h
@@ -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.
@@ -15,10 +15,7 @@
// the download.
struct DownloadStateInfo {
DownloadStateInfo();
- DownloadStateInfo(bool has_user_gesture,
- bool prompt_user_for_save_location);
- DownloadStateInfo(const FilePath& target,
- const FilePath& forced_name,
+ DownloadStateInfo(const FilePath& forced_name,
bool has_user_gesture,
content::PageTransition transition_type,
bool prompt_user_for_save_location);
@@ -50,7 +47,8 @@ struct DownloadStateInfo {
content::DownloadDangerType danger;
- // True if this download's file name was specified initially.
+ // If non-empty, contains an externally supplied filename that should be used
+ // as the target path.
FilePath force_file_name;
};
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | content/browser/download/download_state_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698