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

Side by Side Diff: content/browser/download/download_item_impl.h

Issue 1875033005: [Downloads/History] Add tab-url and tab-referrer-url to DownloadRow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guid-fix
Patch Set: Update expectations for DownloadUIController test. Created 4 years, 8 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 CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Constructing from persistent store: 52 // Constructing from persistent store:
53 // |bound_net_log| is constructed externally for our use. 53 // |bound_net_log| is constructed externally for our use.
54 DownloadItemImpl(DownloadItemImplDelegate* delegate, 54 DownloadItemImpl(DownloadItemImplDelegate* delegate,
55 const std::string& guid, 55 const std::string& guid,
56 uint32_t id, 56 uint32_t id,
57 const base::FilePath& current_path, 57 const base::FilePath& current_path,
58 const base::FilePath& target_path, 58 const base::FilePath& target_path,
59 const std::vector<GURL>& url_chain, 59 const std::vector<GURL>& url_chain,
60 const GURL& referrer_url, 60 const GURL& referrer_url,
61 const GURL& tab_url,
62 const GURL& tab_referrer_url,
61 const std::string& mime_type, 63 const std::string& mime_type,
62 const std::string& original_mime_type, 64 const std::string& original_mime_type,
63 const base::Time& start_time, 65 const base::Time& start_time,
64 const base::Time& end_time, 66 const base::Time& end_time,
65 const std::string& etag, 67 const std::string& etag,
66 const std::string& last_modified, 68 const std::string& last_modified,
67 int64_t received_bytes, 69 int64_t received_bytes,
68 int64_t total_bytes, 70 int64_t total_bytes,
69 const std::string& hash, 71 const std::string& hash,
70 DownloadItem::DownloadState state, 72 DownloadItem::DownloadState state,
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 const net::BoundNetLog bound_net_log_; 674 const net::BoundNetLog bound_net_log_;
673 675
674 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; 676 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
675 677
676 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); 678 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
677 }; 679 };
678 680
679 } // namespace content 681 } // namespace content
680 682
681 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 683 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_item_factory.h ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698