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

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

Issue 319703002: Add mime type information to the download database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix DownloadUIController_HistoryDownload test failure Created 6 years, 6 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // outlives the DownloadItemImpl. 49 // outlives the DownloadItemImpl.
50 50
51 // Constructing from persistent store: 51 // Constructing from persistent store:
52 // |bound_net_log| is constructed externally for our use. 52 // |bound_net_log| is constructed externally for our use.
53 DownloadItemImpl(DownloadItemImplDelegate* delegate, 53 DownloadItemImpl(DownloadItemImplDelegate* delegate,
54 uint32 id, 54 uint32 id,
55 const base::FilePath& current_path, 55 const base::FilePath& current_path,
56 const base::FilePath& target_path, 56 const base::FilePath& target_path,
57 const std::vector<GURL>& url_chain, 57 const std::vector<GURL>& url_chain,
58 const GURL& referrer_url, 58 const GURL& referrer_url,
59 const std::string& mime_type,
60 const std::string& original_mime_type,
59 const base::Time& start_time, 61 const base::Time& start_time,
60 const base::Time& end_time, 62 const base::Time& end_time,
61 const std::string& etag, 63 const std::string& etag,
62 const std::string& last_modified, 64 const std::string& last_modified,
63 int64 received_bytes, 65 int64 received_bytes,
64 int64 total_bytes, 66 int64 total_bytes,
65 DownloadItem::DownloadState state, 67 DownloadItem::DownloadState state,
66 DownloadDangerType danger_type, 68 DownloadDangerType danger_type,
67 DownloadInterruptReason interrupt_reason, 69 DownloadInterruptReason interrupt_reason,
68 bool opened, 70 bool opened,
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 const net::BoundNetLog bound_net_log_; 553 const net::BoundNetLog bound_net_log_;
552 554
553 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; 555 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
554 556
555 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); 557 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
556 }; 558 };
557 559
558 } // namespace content 560 } // namespace content
559 561
560 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 562 #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