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

Side by Side Diff: components/history/core/browser/download_row.h

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 23 matching lines...) Expand all
34 const std::string& last_modified, 34 const std::string& last_modified,
35 int64_t received, 35 int64_t received,
36 int64_t total, 36 int64_t total,
37 DownloadState download_state, 37 DownloadState download_state,
38 DownloadDangerType danger_type, 38 DownloadDangerType danger_type,
39 DownloadInterruptReason interrupt_reason, 39 DownloadInterruptReason interrupt_reason,
40 DownloadId id, 40 DownloadId id,
41 bool download_opened, 41 bool download_opened,
42 const std::string& ext_id, 42 const std::string& ext_id,
43 const std::string& ext_name); 43 const std::string& ext_name);
44 DownloadRow(const DownloadRow& other);
44 ~DownloadRow(); 45 ~DownloadRow();
45 46
46 // The current path to the download (potentially different from final if 47 // The current path to the download (potentially different from final if
47 // download is in progress or interrupted). 48 // download is in progress or interrupted).
48 base::FilePath current_path; 49 base::FilePath current_path;
49 50
50 // The target path where the download will go when it's complete. 51 // The target path where the download will go when it's complete.
51 base::FilePath target_path; 52 base::FilePath target_path;
52 53
53 // The URL redirect chain through which we are downloading. The front 54 // The URL redirect chain through which we are downloading. The front
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 bool opened; 101 bool opened;
101 102
102 // The id and name of the extension that created this download. 103 // The id and name of the extension that created this download.
103 std::string by_ext_id; 104 std::string by_ext_id;
104 std::string by_ext_name; 105 std::string by_ext_name;
105 }; 106 };
106 107
107 } // namespace history 108 } // namespace history
108 109
109 #endif // COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_ 110 #endif // COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698