/external/chromium_org/content/browser/download/ |
download_item_impl_delegate.h | 32 // The boolean argument indicates whether or not the download was 43 // Request determination of the download target from the delegate. 45 DownloadItemImpl* download, const DownloadTargetCallback& callback); 47 // Allows the delegate to delay completion of the download. This function 48 // will either return true (if the download may complete now) or will return 52 DownloadItemImpl* download, 55 // Allows the delegate to override the opening of a download. If it returns 58 DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback); 69 // Called when an interrupted download is resumed. 78 virtual void UpdatePersistence(DownloadItemImpl* download); [all...] |
download_item_impl_delegate.cc | 5 #include "content/browser/download/download_item_impl_delegate.h" 8 #include "content/browser/download/download_item_impl.h" 31 DownloadItemImpl* download, const DownloadTargetCallback& callback) { 33 base::FilePath target_path(download->GetForcedFilePath()); 41 DownloadItemImpl* download, 47 DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback) { 66 void DownloadItemImplDelegate::UpdatePersistence(DownloadItemImpl* download) {} 68 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} 70 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { 73 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} [all...] |
download_browsertest.cc | 5 // This file contains download browser tests that are known to be runnable 15 #include "content/browser/download/download_file_factory.h" 16 #include "content/browser/download/download_file_impl.h" 17 #include "content/browser/download/download_item_impl.h" 18 #include "content/browser/download/download_manager_impl.h" 19 #include "content/browser/download/download_resource_handler.h" 240 "Download in progress")); 341 "Download in progress")); 379 // Record all state transitions and byte counts on the observed download. 389 RecordingDownloadObserver(DownloadItem* download) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
download_handler.cc | 49 // Extracts DriveUserData* from |download|. 50 const DriveUserData* GetDriveUserData(const DownloadItem* download) { 52 download->GetUserData(&kDrivePathKey)); 55 DriveUserData* GetDriveUserData(DownloadItem* download) { 56 return static_cast<DriveUserData*>(download->GetUserData(&kDrivePathKey)); 65 DCHECK(created) << "Can not create temp download directory at " 70 DCHECK(created) << "Temporary download file creation failed"; 93 // Returns true if |download| is a Drive download created from data persisted 94 // on the download history DB [all...] |
download_handler.h | 11 #include "chrome/browser/download/all_download_item_notifier.h" 47 content::DownloadItem* download, 51 // to external data in |download|. Also sets display name and 52 // makes |download| a temporary. 54 content::DownloadItem* download); 56 // Gets the target drive path from external data in |download|. 57 base::FilePath GetTargetPath(const content::DownloadItem* download); 59 // Gets the downloaded drive cache file path from external data in |download|. 60 base::FilePath GetCacheFilePath(const content::DownloadItem* download); 62 // Checks if there is a Drive upload associated with |download| [all...] |
/external/chromium/chrome/browser/download/ |
download_item_model.h | 18 // depending on the type of download. 21 explicit BaseDownloadItemModel(DownloadItem* download) 22 : download_(download) { } 31 DownloadItem* download() { return download_; } function in class:BaseDownloadItemModel 42 explicit DownloadItemModel(DownloadItem* download); 60 SavePageModel(SavePackage* save, DownloadItem* download);
|
download_manager.cc | 5 #include "chrome/browser/download/download_manager.h" 19 #include "chrome/browser/download/download_extensions.h" 20 #include "chrome/browser/download/download_file_manager.h" 21 #include "chrome/browser/download/download_history.h" 22 #include "chrome/browser/download/download_item.h" 23 #include "chrome/browser/download/download_prefs.h" 24 #include "chrome/browser/download/download_safe_browsing_client.h" 25 #include "chrome/browser/download/download_status_updater.h" 26 #include "chrome/browser/download/download_util.h" 86 DownloadItem* download = *it local 462 DownloadItem* download = new DownloadItem(this, *info, local 482 DownloadItem* download = active_downloads_[info->download_id]; local 528 DownloadItem* download = it->second; local 658 DownloadItem* download = GetDownloadItem(download_id); local 831 DownloadItem* download = it->second; local 1011 DownloadItem* download = new DownloadItem(this, entries->at(i)); local 1031 DownloadItem* download = it->second; local [all...] |
download_file_manager.cc | 5 #include "chrome/browser/download/download_file_manager.h" 13 #include "chrome/browser/download/download_manager.h" 14 #include "chrome/browser/download/download_util.h" 29 // Throttle updates to the UI thread so that a fast moving download doesn't 151 // request is a download. 186 // download (in the UI thread), we may receive a few more updates before the IO 197 DownloadFile* download = GetDownloadFile(id); local 201 if (download) 202 download->AppendDataToFile(data->data(), data_len); 217 DownloadFile* download = GetDownloadFile(id) local 313 DownloadFile* download = GetDownloadFile(id); local 340 DownloadFile* download = GetDownloadFile(id); local 391 DownloadFile* download = GetDownloadFile(id); local [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
download_item_mac.h | 10 #include "chrome/browser/download/download_item_model.h" 22 // A class that bridges the visible mac download items to chromium's download 24 // |LoadIcon| if it wants to display the icon associated with this download. 28 DownloadItemMac(content::DownloadItem* download, 35 virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE; 36 virtual void OnDownloadOpened(content::DownloadItem* download) OVERRIDE; 37 virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE; 48 // The download item model we represent.
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
icons.js | 6 var download = document.getElementById('download'); 7 download.onclick = function() { 9 download.disabled = true;
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 108 Download download = enqueueRequest(getRequest()); local 110 download.getLongField(DownloadManager.COLUMN_STATUS)); 112 download.getStringField(DownloadManager.COLUMN_URI)); 113 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID)); 115 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP)); 118 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL); 123 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); 126 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE)) 147 final Download download = enqueueRequest(getRequest() local 165 Download download = enqueueRequest(getRequest() local 187 Download download = enqueueRequest(getRequest()); local 207 Download download = enqueueRequest(getRequest().setDestinationUri(getExternalUri())); local 351 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); local 371 Download download = enqueueRequest(getRequest().addRequestHeader("Header1", "value1") local 381 Download download = enqueueRequest(getRequest().addRequestHeader("header", "value")); local 397 Download download = enqueueRequest(getRequest()); local 424 final Download download = enqueueRequest(getRequest()); local 438 final Download download = enqueueRequest(getRequest()); local 465 final Download download = enqueueRequest(getRequest()); local 487 Download download = enqueueRequest(getRequest()); local 509 Download download = enqueueRequest(getRequest()); local 528 Download download = enqueueRequest(getRequest()); local 540 Download download = enqueueRequest(getRequest()); local 561 Download download = enqueueRequest(getRequest()); local 576 Download download = enqueueRequest(getRequest()); local 595 Download download = enqueueRequest(getRequest()); local 609 final Download download = enqueueRequest(getRequest()); local 617 final Download download = enqueueRequest( local 629 final Download download = enqueueRequest(getRequest()); local 640 final Download download = enqueueRequest(getRequest().setNotificationVisibility( local 655 Download download = enqueueRequest(getRequest()); local 669 Download download = enqueueRequest(getRequest()); local 688 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); local 693 Download download = enqueueRequest(getRequest()); local 707 Download download = enqueueRequest(getRequest()); local 723 Download download = enqueueRequest(getRequest()); local 741 final Download download = enqueueRequest(getRequest()); local [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
download_feedback_service.cc | 28 // Stores the ping data in the given |download|. 29 static void CreateForDownload(content::DownloadItem* download, 33 // Returns the DownloadFeedbackPings object associated with |download|. May 36 const content::DownloadItem& download); 60 content::DownloadItem* download, 65 download->SetUserData(kPingKey, pings); 70 const content::DownloadItem& download) { 71 return static_cast<DownloadFeedbackPings*>(download.GetUserData(kPingKey)); 91 content::DownloadItem* download, 98 download->GetReceivedBytes() / 1024) [all...] |
/external/chromium_org/content/public/test/ |
download_test_observer.cc | 118 // NOTE: This method is called both by DownloadManager when a download is 130 void DownloadTestObserver::OnDownloadDestroyed(DownloadItem* download) { 132 DownloadSet::iterator it = downloads_observed_.find(download); 135 download->RemoveObserver(this); 138 void DownloadTestObserver::OnDownloadUpdated(DownloadItem* download) { 140 if (download->IsDangerous() && 141 !ContainsKey(dangerous_downloads_seen_, download->GetId())) { 142 dangerous_downloads_seen_.insert(download->GetId()); 145 // cause the download to be completed twice. Do what the real UI 155 download->GetId())) [all...] |
/external/chromium_org/chrome/browser/download/ |
download_status_updater_gtk.cc | 5 #include "chrome/browser/download/download_status_updater.h" 10 content::DownloadItem* download) {
|
drag_download_item.h | 18 // Helper function for download views to use when acting as a drag source for a 21 void DragDownloadItem(const content::DownloadItem* download,
|
download_status_updater_win.cc | 5 #include "chrome/browser/download/download_status_updater.h" 86 content::DownloadItem* download) { 98 if (download->GetState() != content::DownloadItem::COMPLETE) 101 if (download->GetOpenWhenComplete() || 102 download->ShouldOpenFileBasedOnExtension() || 103 download->IsTemporary() || 104 download->GetAutoOpened()) 107 // Don't display the Windows8 metro notifications for an incognito download. 108 if (download->GetBrowserContext() && 109 download->GetBrowserContext()->IsOffTheRecord() [all...] |
drag_download_item_views.cc | 5 #include "chrome/browser/download/drag_download_item.h" 37 void DragDownloadItem(const content::DownloadItem* download, 40 DCHECK(download); 41 DCHECK_EQ(content::DownloadItem::COMPLETE, download->GetState()); 48 download->GetFileNameToReportUser(), icon->ToImageSkia(), &data); 51 base::FilePath full_path = download->GetTargetFilePath(); 54 Profile* profile = Profile::FromBrowserContext(download->GetBrowserContext()); 58 drive_download_handler->IsDriveDownload(download)) 59 full_path = drive_download_handler->GetCacheFilePath(download); 63 full_path, download->GetFileNameToReportUser())) [all...] |
download_danger_prompt_browsertest.cc | 7 #include "chrome/browser/download/download_danger_prompt.h" 67 content::MockDownloadItem& download() { return download_; } function in class:DownloadDangerPromptTest 124 // If the download is no longer dangerous (because it was accepted), the 127 EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(false)); 128 download_observer()->OnDownloadUpdated(&download()); 131 // If the download is in a terminal state then the dialog should DISMISS 134 EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(true)); 135 EXPECT_CALL(download(), IsDone()).WillOnce(Return(true)); 136 download_observer()->OnDownloadUpdated(&download()); 139 // If the download is dangerous and is not in a terminal state, don't dismis [all...] |
download_target_determiner_delegate.h | 10 #include "chrome/browser/download/download_path_reservation_tracker.h" 29 // override the download path. |conflict_action| should be set to the action 31 // empty, then the download target will be unchanged and |conflict_action| is 60 // the callback should indicate the danger type of the download based on the 73 virtual void NotifyExtensions(content::DownloadItem* download, 91 content::DownloadItem* download, 97 // Display a prompt to the user requesting that a download target be chosen. 100 content::DownloadItem* download, 108 virtual void DetermineLocalPath(content::DownloadItem* download, 112 // Check whether the download URL is malicious and invoke |callback| with [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
downloads_ui_browsertest.js | 41 * in the preLoad, because it requires the global Download object to have 57 * Creates a download object to be passed to the page, following the expected 59 * @param {Number} A unique ID for the download. 60 * @param {Number} The time the download purportedly started. 63 var download = {}; 64 download.id = id; 65 download.started = timestamp; 66 download.otr = false; 67 download.state = Download.States.COMPLETE [all...] |
/external/chromium/chrome/browser/ui/cocoa/download/ |
download_item_mac.h | 13 #include "chrome/browser/download/download_item.h" 14 #include "chrome/browser/download/download_manager.h" 25 // A class that bridges the visible mac download items to chromium's download 27 // |LoadIcon| if it wants to display the icon associated with this download. 39 virtual void OnDownloadUpdated(DownloadItem* download); 40 virtual void OnDownloadOpened(DownloadItem* download); 52 // The download item model we represent.
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
language_options_dictionary_download_browsertest.js | 6 * TestFixture for testing messages of dictionary download progress in language 33 // Verify that dictionary download success shows 'This language is used for 41 expectTrue($('language-options-dictionary-download-failed-message').hidden); 43 $('language-options-dictionary-download-fail-help-message').hidden); 46 // Verify that dictionary download in progress shows 'Downloading spell check 54 expectTrue($('language-options-dictionary-download-failed-message').hidden); 56 $('language-options-dictionary-download-fail-help-message').hidden); 59 // Verify that failure in dictionary download shows 'Dictionary download failed' 71 expectFalse($('language-options-dictionary-download-failed-message').hidden) [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/ |
sources.py | 5 import download namespace 10 download.UrlOpen(url)
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/tools/ |
fxc | 3 (cd "$dir"; ./download-mstools)
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/tools/ |
fxc | 3 (cd "$dir"; ./download-mstools)
|