OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/download/download_types.h" | 5 #include "content/browser/download/download_types.h" |
6 | 6 |
7 DownloadBuffer::DownloadBuffer() { | 7 DownloadBuffer::DownloadBuffer() { |
8 } | 8 } |
9 | 9 |
10 DownloadBuffer::~DownloadBuffer() { | 10 DownloadBuffer::~DownloadBuffer() { |
11 } | 11 } |
12 | 12 |
13 DownloadSaveInfo::DownloadSaveInfo() { | 13 DownloadSaveInfo::DownloadSaveInfo() { |
14 } | 14 } |
15 | 15 |
16 DownloadSaveInfo::DownloadSaveInfo(const DownloadSaveInfo& info) | 16 DownloadSaveInfo::DownloadSaveInfo(const DownloadSaveInfo& info) |
17 : file_path(info.file_path), | 17 : file_path(info.file_path), |
18 file_stream(info.file_stream), | 18 file_stream(info.file_stream), |
19 suggested_name(info.suggested_name) { | 19 suggested_name(info.suggested_name) { |
20 } | 20 } |
21 | 21 |
22 DownloadSaveInfo::~DownloadSaveInfo() { | 22 DownloadSaveInfo::~DownloadSaveInfo() { |
23 } | 23 } |
24 | 24 |
25 DownloadSaveInfo& DownloadSaveInfo::operator=(const DownloadSaveInfo& info) { | 25 DownloadSaveInfo& DownloadSaveInfo::operator=(const DownloadSaveInfo& info) { |
26 file_path = info.file_path; | 26 file_path = info.file_path; |
27 file_stream = info.file_stream; | 27 file_stream = info.file_stream; |
28 suggested_name = info.suggested_name; | 28 suggested_name = info.suggested_name; |
29 return *this; | 29 return *this; |
30 } | 30 } |
OLD | NEW |