Home
last modified time | relevance | path

Searched refs:DownloadState (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/sync/internal_api/attachments/
Dattachment_downloader_impl.cc18 struct AttachmentDownloaderImpl::DownloadState { struct in syncer::AttachmentDownloaderImpl
20 DownloadState(const AttachmentId& attachment_id,
32 AttachmentDownloaderImpl::DownloadState::DownloadState( in DownloadState() function in syncer::AttachmentDownloaderImpl::DownloadState
73 scoped_ptr<DownloadState> new_download_state( in DownloadAttachment()
74 new DownloadState(attachment_id, url)); in DownloadAttachment()
78 DownloadState* download_state = iter->second; in DownloadAttachment()
95 DownloadState* download_state = *iter; in OnGetTokenSuccess()
115 DownloadState* download_state = *iter; in OnGetTokenFailure()
133 const DownloadState& download_state = *iter->second; in OnURLFetchComplete()
181 DownloadState* download_state) { in RequestAccessToken()
[all …]
/external/chromium_org/sync/internal_api/public/attachments/
Dattachment_downloader_impl.h58 struct DownloadState;
60 typedef base::ScopedPtrHashMap<AttachmentUrl, DownloadState> StateMap;
61 typedef std::vector<DownloadState*> StateList;
65 void RequestAccessToken(DownloadState* download_state);
67 const DownloadState& download_state,
/external/chromium_org/content/public/test/
Dmock_download_manager.h43 DownloadItem::DownloadState state;
62 DownloadItem::DownloadState state,
117 DownloadItem::DownloadState state,
Dmock_download_manager.cc26 DownloadItem::DownloadState state, in CreateDownloadItemAdapter()
112 DownloadItem::DownloadState state, in CreateDownloadItem()
Ddownload_test_observer.h96 size_t NumDownloadsSeenInState(DownloadItem::DownloadState state) const;
109 typedef std::map<DownloadItem::DownloadState, size_t> StateMap;
Dmock_download_item.h47 MOCK_CONST_METHOD0(GetState, DownloadState());
/external/chromium_org/chrome/browser/history/
Ddownload_database.h123 static int StateToInt(content::DownloadItem::DownloadState state);
124 static content::DownloadItem::DownloadState IntToState(int state);
Ddownload_row.h38 content::DownloadItem::DownloadState download_state,
89 content::DownloadItem::DownloadState state;
Ddownload_row.cc32 content::DownloadItem::DownloadState download_state, in DownloadRow()
Ddownload_database.cc92 int DownloadDatabase::StateToInt(DownloadItem::DownloadState state) { in StateToInt()
106 DownloadItem::DownloadState DownloadDatabase::IntToState(int state) { in IntToState()
/external/chromium_org/content/browser/download/
Ddownload_item_impl.h67 DownloadItem::DownloadState state,
106 virtual DownloadState GetState() const OVERRIDE;
381 static DownloadState InternalToExternalState(
384 DownloadState external_state);
Ddownload_item_factory.h55 DownloadItem::DownloadState state,
Ddownload_manager_impl_unittest.cc131 MOCK_CONST_METHOD0(GetState, DownloadState());
247 DownloadItem::DownloadState state,
314 DownloadItem::DownloadState state, in CreatePersistedItem()
Ddownload_manager_impl.h90 content::DownloadItem::DownloadState state,
Ddownload_item_impl.cc124 DownloadItem::DownloadState state, in DownloadItemImpl()
484 DownloadItem::DownloadState DownloadItemImpl::GetState() const { in GetState()
1732 DownloadItem::DownloadState DownloadItemImpl::InternalToExternalState( in InternalToExternalState()
1757 DownloadState external_state) { in ExternalToInternalState()
Ddrag_download_file.cc109 DownloadItem::DownloadState state = download_item_->GetState(); in OnDownloadUpdated()
Ddownload_manager_impl.cc180 DownloadItem::DownloadState state, in CreatePersistedItem()
634 DownloadItem::DownloadState state, in CreateDownloadItem()
/external/chromium_org/content/public/browser/
Ddownload_item.h53 enum DownloadState { enum
156 virtual DownloadState GetState() const = 0;
Ddownload_manager.h153 DownloadItem::DownloadState state,
/external/chromium_org/chrome/browser/download/
Ddownload_query.cc149 static DownloadItem::DownloadState GetState(const DownloadItem& item) { in GetState()
258 void DownloadQuery::AddFilter(DownloadItem::DownloadState state) { in AddFilter()
259 AddFilter(base::Bind(&FieldMatches<DownloadItem::DownloadState>, state, EQ, in AddFilter()
416 sorters_.push_back(Sorter::Build<DownloadItem::DownloadState>( in AddSorter()
Ddownload_query.h107 void AddFilter(content::DownloadItem::DownloadState state);
Ddownload_item_model_unittest.cc376 DownloadItem::DownloadState state; in TEST_F()
Ddownload_status_updater_unittest.cc111 content::DownloadItem::DownloadState state = in AddItems()
/external/chromium_org/chrome/browser/plugins/
Dplugin_installer.cc31 DownloadItem::DownloadState state = download->GetState(); in OnDownloadUpdated()
/external/chromium_org/chrome/browser/extensions/api/downloads/
Ddownloads_api.cc213 const char* StateString(DownloadItem::DownloadState state) { in StateString()
215 DCHECK(state < static_cast<DownloadItem::DownloadState>( in StateString()
217 if (state < 0 || state >= static_cast<DownloadItem::DownloadState>( in StateString()
223 DownloadItem::DownloadState StateEnumFromString(const std::string& state) { in StateEnumFromString()
226 return static_cast<DownloadItem::DownloadState>(i); in StateEnumFromString()
508 DownloadItem::DownloadState state = StateEnumFromString(state_string); in RunDownloadQuery()

12