HomeSort by relevance Sort by last modified time
    Searched refs:DownloadHistory (Results 1 - 12 of 12) sorted by null

  /external/chromium/chrome/browser/download/
download_history.cc 18 const int DownloadHistory::kUninitializedHandle = 0;
20 DownloadHistory::DownloadHistory(Profile* profile)
26 DownloadHistory::~DownloadHistory() {
29 void DownloadHistory::Load(HistoryService::DownloadQueryCallback* callback) {
42 void DownloadHistory::AddEntry(
68 void DownloadHistory::UpdateEntry(DownloadItem* download_item) {
84 void DownloadHistory::UpdateDownloadPath(DownloadItem* download_item,
96 void DownloadHistory::RemoveEntry(DownloadItem* download_item)
    [all...]
download_history.h 21 class DownloadHistory {
27 explicit DownloadHistory(Profile* profile);
28 ~DownloadHistory();
66 DISALLOW_COPY_AND_ASSIGN(DownloadHistory);
download_manager.h 49 class DownloadHistory;
211 DownloadHistory* download_history() { return download_history_.get(); }
380 scoped_ptr<DownloadHistory> download_history_;
download_manager.cc 227 download_history_.reset(new DownloadHistory(profile));
620 return (download->db_handle() != DownloadHistory::kUninitializedHandle);
640 DCHECK(download->db_handle() != DownloadHistory::kUninitializedHandle);
704 if (download->db_handle() != DownloadHistory::kUninitializedHandle) {
755 if (download->db_handle() != DownloadHistory::kUninitializedHandle) {
    [all...]
download_item.cc 171 db_handle_(DownloadHistory::kUninitializedHandle),
211 db_handle_(DownloadHistory::kUninitializedHandle),
  /external/chromium_org/chrome/browser/download/
download_service.h 15 class DownloadHistory;
36 DownloadHistory* GetDownloadHistory();
76 scoped_ptr<DownloadHistory> download_history_;
download_history.cc 5 // DownloadHistory manages persisting DownloadItems to the history service by
9 // DownloadHistory decides whether and when to add items to, remove items from,
10 // and update items in the database. DownloadHistory uses DownloadHistoryData to
14 // initialized, DownloadHistory is created and queries the HistoryService. When
16 // DownloadHistory uses DownloadManager::CreateDownloadItem() to inform
21 // item is still being added to the database, DownloadHistory uses
24 // DownloadHistory to prevent use-after-free bugs.
25 // ChromeDownloadManagerDelegate owns DownloadHistory, and deletes it in
47 // and keeping maps in DownloadHistory from DownloadItem to this information is
48 // error-prone and complicated. Unfortunately, DownloadHistory::removing_*_ an
    [all...]
download_history.h 26 class DownloadHistory : public AllDownloadItemNotifier::Observer {
65 // Fires when the DownloadHistory is being destroyed so that implementors
66 // can RemoveObserver() and nullify their DownloadHistory*s.
74 // DownloadService creates DownloadHistory some time after DownloadManager is
75 // created and destroys DownloadHistory as DownloadManager is shutting down.
76 DownloadHistory(
80 virtual ~DownloadHistory();
142 base::WeakPtrFactory<DownloadHistory> weak_ptr_factory_;
144 DISALLOW_COPY_AND_ASSIGN(DownloadHistory);
download_service.cc 60 download_history_.reset(new DownloadHistory(
62 scoped_ptr<DownloadHistory::HistoryAdapter>(
63 new DownloadHistory::HistoryAdapter(history))));
79 DownloadHistory* DownloadService::GetDownloadHistory() {
download_history_unittest.cc 59 typedef DownloadHistory::IdSet IdSet;
63 class FakeHistoryAdapter : public DownloadHistory::HistoryAdapter {
66 : DownloadHistory::HistoryAdapter(NULL),
272 download_history_.reset(new DownloadHistory(
273 &manager(), scoped_ptr<DownloadHistory::HistoryAdapter>(history_)));
464 scoped_ptr<DownloadHistory> download_history_;
490 EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0)));
521 EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0)));
548 EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0)));
645 EXPECT_TRUE(DownloadHistory::IsPersisted(&item(0)))
    [all...]
save_page_browsertest.cc 55 class DownloadPersistedObserver : public DownloadHistory::Observer {
127 virtual void OnDownloadsRemoved(const DownloadHistory::IdSet& ids) OVERRIDE {
download_browsertest.cc 382 class HistoryObserver : public DownloadHistory::Observer {
    [all...]

Completed in 388 milliseconds