Index: chrome/browser/download/download_types.cc |
diff --git a/chrome/browser/download/download_types.cc b/chrome/browser/download/download_types.cc |
index 543555cef8eca9a4adce6c7b63dcf3afdd0af257..0634ab69136b5fe782921d886f4fcf88489e22de 100644 |
--- a/chrome/browser/download/download_types.cc |
+++ b/chrome/browser/download/download_types.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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,7 +15,8 @@ DownloadSaveInfo::DownloadSaveInfo() { |
DownloadSaveInfo::DownloadSaveInfo(const DownloadSaveInfo& info) |
: file_path(info.file_path), |
- file_stream(info.file_stream) { |
+ file_stream(info.file_stream), |
+ suggested_name(info.suggested_name) { |
} |
DownloadSaveInfo::~DownloadSaveInfo() { |
@@ -24,5 +25,6 @@ DownloadSaveInfo::~DownloadSaveInfo() { |
DownloadSaveInfo& DownloadSaveInfo::operator=(const DownloadSaveInfo& info) { |
file_path = info.file_path; |
file_stream = info.file_stream; |
+ suggested_name = info.suggested_name; |
return *this; |
} |