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

Side by Side Diff: chrome/browser/history/download_history_info.cc

Issue 7618048: Move the core download files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
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/history/download_history_info.h" 5 #include "chrome/browser/history/download_history_info.h"
6 6
7 #include "chrome/browser/download/download_item.h" 7 #include "content/browser/download/download_item.h"
8 8
9 DownloadHistoryInfo::DownloadHistoryInfo() 9 DownloadHistoryInfo::DownloadHistoryInfo()
10 : received_bytes(0), 10 : received_bytes(0),
11 total_bytes(0), 11 total_bytes(0),
12 state(0), 12 state(0),
13 db_handle(0) { 13 db_handle(0) {
14 } 14 }
15 15
16 DownloadHistoryInfo::DownloadHistoryInfo(const FilePath& path, 16 DownloadHistoryInfo::DownloadHistoryInfo(const FilePath& path,
17 const GURL& url, 17 const GURL& url,
18 const GURL& referrer, 18 const GURL& referrer,
19 const base::Time& start, 19 const base::Time& start,
20 int64 received, 20 int64 received,
21 int64 total, 21 int64 total,
22 int32 download_state, 22 int32 download_state,
23 int64 handle) 23 int64 handle)
24 : path(path), 24 : path(path),
25 url(url), 25 url(url),
26 referrer_url(referrer), 26 referrer_url(referrer),
27 start_time(start), 27 start_time(start),
28 received_bytes(received), 28 received_bytes(received),
29 total_bytes(total), 29 total_bytes(total),
30 state(download_state), 30 state(download_state),
31 db_handle(handle) { 31 db_handle(handle) {
32 } 32 }
33 33
34 DownloadHistoryInfo::~DownloadHistoryInfo() { // For linux-clang. 34 DownloadHistoryInfo::~DownloadHistoryInfo() { // For linux-clang.
35 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698