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

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

Issue 2439533002: Download Feedback Service should upload all eligible downloads (Closed)
Patch Set: make windows bots happy Created 4 years, 1 month 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 std::unique_ptr<DownloadRequestHandleInterface> request_handle, 94 std::unique_ptr<DownloadRequestHandleInterface> request_handle,
95 const net::NetLogWithSource& net_log); 95 const net::NetLogWithSource& net_log);
96 96
97 ~DownloadItemImpl() override; 97 ~DownloadItemImpl() override;
98 98
99 // DownloadItem 99 // DownloadItem
100 void AddObserver(DownloadItem::Observer* observer) override; 100 void AddObserver(DownloadItem::Observer* observer) override;
101 void RemoveObserver(DownloadItem::Observer* observer) override; 101 void RemoveObserver(DownloadItem::Observer* observer) override;
102 void UpdateObservers() override; 102 void UpdateObservers() override;
103 void ValidateDangerousDownload() override; 103 void ValidateDangerousDownload() override;
104 void StealDangerousDownload(const AcquireFileCallback& callback) override; 104 void StealDangerousDownload(bool need_removal,
105 const AcquireFileCallback& callback) override;
105 void Pause() override; 106 void Pause() override;
106 void Resume() override; 107 void Resume() override;
107 void Cancel(bool user_cancel) override; 108 void Cancel(bool user_cancel) override;
108 void Remove() override; 109 void Remove() override;
109 void OpenDownload() override; 110 void OpenDownload() override;
110 void ShowDownloadInShell() override; 111 void ShowDownloadInShell() override;
111 uint32_t GetId() const override; 112 uint32_t GetId() const override;
112 const std::string& GetGuid() const override; 113 const std::string& GetGuid() const override;
113 DownloadState GetState() const override; 114 DownloadState GetState() const override;
114 DownloadInterruptReason GetLastReason() const override; 115 DownloadInterruptReason GetLastReason() const override;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 const net::NetLogWithSource net_log_; 678 const net::NetLogWithSource net_log_;
678 679
679 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; 680 base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
680 681
681 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); 682 DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
682 }; 683 };
683 684
684 } // namespace content 685 } // namespace content
685 686
686 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_ 687 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_ITEM_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/download/download_shelf_context_menu_view.cc ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698