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

Side by Side Diff: content/browser/download/download_manager_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_MANAGER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void DownloadUrl(std::unique_ptr<DownloadUrlParameters> params) override; 81 void DownloadUrl(std::unique_ptr<DownloadUrlParameters> params) override;
82 void AddObserver(Observer* observer) override; 82 void AddObserver(Observer* observer) override;
83 void RemoveObserver(Observer* observer) override; 83 void RemoveObserver(Observer* observer) override;
84 content::DownloadItem* CreateDownloadItem( 84 content::DownloadItem* CreateDownloadItem(
85 const std::string& guid, 85 const std::string& guid,
86 uint32_t id, 86 uint32_t id,
87 const base::FilePath& current_path, 87 const base::FilePath& current_path,
88 const base::FilePath& target_path, 88 const base::FilePath& target_path,
89 const std::vector<GURL>& url_chain, 89 const std::vector<GURL>& url_chain,
90 const GURL& referrer_url, 90 const GURL& referrer_url,
91 const GURL& tab_url,
92 const GURL& tab_refererr_url,
91 const std::string& mime_type, 93 const std::string& mime_type,
92 const std::string& original_mime_type, 94 const std::string& original_mime_type,
93 const base::Time& start_time, 95 const base::Time& start_time,
94 const base::Time& end_time, 96 const base::Time& end_time,
95 const std::string& etag, 97 const std::string& etag,
96 const std::string& last_modified, 98 const std::string& last_modified,
97 int64_t received_bytes, 99 int64_t received_bytes,
98 int64_t total_bytes, 100 int64_t total_bytes,
99 const std::string& hash, 101 const std::string& hash,
100 content::DownloadItem::DownloadState state, 102 content::DownloadItem::DownloadState state,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 url_downloaders_; 223 url_downloaders_;
222 224
223 base::WeakPtrFactory<DownloadManagerImpl> weak_factory_; 225 base::WeakPtrFactory<DownloadManagerImpl> weak_factory_;
224 226
225 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl); 227 DISALLOW_COPY_AND_ASSIGN(DownloadManagerImpl);
226 }; 228 };
227 229
228 } // namespace content 230 } // namespace content
229 231
230 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_ 232 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698