Home
last modified time | relevance | path

Searched refs:download_item (Results 1 – 11 of 11) sorted by relevance

/third_party/cef/tests/ceftests/
Ddownload_unittest.cc321 CefRefPtr<CefDownloadItem> download_item, in OnBeforeDownload() argument
331 EXPECT_TRUE(download_item.get()); in OnBeforeDownload()
334 download_id_ = download_item->GetId(); in OnBeforeDownload()
337 EXPECT_TRUE(download_item->IsValid()); in OnBeforeDownload()
338 EXPECT_TRUE(download_item->IsInProgress()); in OnBeforeDownload()
339 EXPECT_FALSE(download_item->IsComplete()); in OnBeforeDownload()
340 EXPECT_FALSE(download_item->IsCanceled()); in OnBeforeDownload()
342 download_item->GetTotalBytes()); in OnBeforeDownload()
343 EXPECT_EQ(0UL, download_item->GetFullPath().length()); in OnBeforeDownload()
344 EXPECT_STREQ(kTestDownloadUrl, download_item->GetURL().ToString().c_str()); in OnBeforeDownload()
[all …]
Dtest_handler.h155 CefRefPtr<CefDownloadItem> download_item, in OnBeforeDownload() argument
/third_party/cef/libcef_dll/cpptoc/
Ddownload_handler_cpptoc.cc29 struct _cef_download_item_t* download_item, in download_handler_on_before_download() argument
44 DCHECK(download_item); in download_handler_on_before_download()
45 if (!download_item) in download_handler_on_before_download()
59 CefDownloadItemCToCpp::Wrap(download_item), CefString(suggested_name), in download_handler_on_before_download()
66 struct _cef_download_item_t* download_item, in download_handler_on_download_updated() argument
80 DCHECK(download_item); in download_handler_on_download_updated()
81 if (!download_item) in download_handler_on_download_updated()
91 CefDownloadItemCToCpp::Wrap(download_item), in download_handler_on_download_updated()
/third_party/cef/libcef_dll/ctocpp/
Ddownload_handler_ctocpp.cc27 CefRefPtr<CefDownloadItem> download_item, in OnBeforeDownload() argument
43 DCHECK(download_item.get()); in OnBeforeDownload()
44 if (!download_item.get()) in OnBeforeDownload()
57 CefDownloadItemCppToC::Wrap(download_item), in OnBeforeDownload()
65 CefRefPtr<CefDownloadItem> download_item, in OnDownloadUpdated() argument
80 DCHECK(download_item.get()); in OnDownloadUpdated()
81 if (!download_item.get()) in OnDownloadUpdated()
90 CefDownloadItemCppToC::Wrap(download_item), in OnDownloadUpdated()
Ddownload_handler_ctocpp.h39 CefRefPtr<CefDownloadItem> download_item,
43 CefRefPtr<CefDownloadItem> download_item,
/third_party/cef/libcef/browser/
Ddownload_manager_delegate.cc293 CefRefPtr<CefDownloadItemImpl> download_item( in OnDownloadUpdated() local
298 handler->OnDownloadUpdated(browser.get(), download_item.get(), callback); in OnDownloadUpdated()
300 std::ignore = download_item->Detach(nullptr); in OnDownloadUpdated()
386 CefRefPtr<CefDownloadItemImpl> download_item(new CefDownloadItemImpl(item)); in DetermineDownloadTarget() local
392 handler->OnBeforeDownload(browser.get(), download_item.get(), in DetermineDownloadTarget()
395 std::ignore = download_item->Detach(nullptr); in DetermineDownloadTarget()
/third_party/cef/include/
Dcef_download_handler.h103 CefRefPtr<CefDownloadItem> download_item,
116 CefRefPtr<CefDownloadItem> download_item, in OnDownloadUpdated() argument
/third_party/cef/include/capi/
Dcef_download_handler_capi.h116 struct _cef_download_item_t* download_item,
130 struct _cef_download_item_t* download_item,
/third_party/cef/tests/cefclient/browser/
Dclient_handler.h166 CefRefPtr<CefDownloadItem> download_item,
170 CefRefPtr<CefDownloadItem> download_item,
Dclient_handler.cc492 CefRefPtr<CefDownloadItem> download_item, in OnBeforeDownload() argument
503 CefRefPtr<CefDownloadItem> download_item, in OnDownloadUpdated() argument
507 if (download_item->IsComplete()) { in OnDownloadUpdated()
509 download_item->GetFullPath().ToString() + in OnDownloadUpdated()
/third_party/chromium/patch/
D0003-ohos-1115.patch65536 + CefRefPtr<CefDownloadItem> download_item,
65541 + if (download_item->IsValid() == false) {
65545 + if (download_item->IsCanceled() == true) {
65554 + download_item->GetURL().ToString(),
65556 + download_item->GetContentDisposition().ToString(),
65557 + download_item->GetMimeType().ToString(),
65558 + download_item->GetTotalBytes());
66522 + CefRefPtr<CefDownloadItem> download_item,