/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" 238 "Download in progress")); 339 "Download in progress")); 377 // Record all state transitions and byte counts on the observed download. 387 RecordingDownloadObserver(DownloadItem* 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/chromeos/drive/ |
download_handler.cc | 44 // Extracts DriveUserData* from |download|. 45 const DriveUserData* GetDriveUserData(const DownloadItem* download) { 47 download->GetUserData(&kDrivePathKey)); 50 DriveUserData* GetDriveUserData(DownloadItem* download) { 51 return static_cast<DriveUserData*>(download->GetUserData(&kDrivePathKey)); 60 DCHECK(created) << "Can not create temp download directory at " 65 DCHECK(created) << "Temporary download file creation failed"; 86 // Returns true if |download| is a Drive download created from data persisted 87 // on the download history DB [all...] |
download_handler.h | 11 #include "chrome/browser/download/all_download_item_notifier.h" 49 content::DownloadItem* download, 53 // to external data in |download|. Also sets display name and 54 // makes |download| a temporary. 56 content::DownloadItem* download); 58 // Gets the target drive path from external data in |download|. 59 base::FilePath GetTargetPath(const content::DownloadItem* download); 61 // Checks if there is a Drive upload associated with |download| 62 bool IsDriveDownload(const content::DownloadItem* download); 64 // Checks a file corresponding to the download item exists in Drive [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/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) {
|
download_status_updater_win.cc | 5 #include "chrome/browser/download/download_status_updater.h" 88 content::DownloadItem* download) { 100 if (download->GetState() != content::DownloadItem::COMPLETE) 103 if (download->GetOpenWhenComplete() || 104 download->ShouldOpenFileBasedOnExtension() || 105 download->IsTemporary() || 106 download->GetAutoOpened()) 109 // Don't display the Windows8 metro notifications for an incognito download. 110 if (download->GetBrowserContext() && 111 download->GetBrowserContext()->IsOffTheRecord() [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 122 // If the download is no longer dangerous (because it was accepted), the 125 EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(false)); 126 download_observer()->OnDownloadUpdated(&download()); 129 // If the download is in a terminal state then the dialog should DISMISS 132 EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(true)); 133 EXPECT_CALL(download(), IsDone()).WillOnce(Return(true)); 134 download_observer()->OnDownloadUpdated(&download()); 137 // 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 68 virtual void NotifyExtensions(content::DownloadItem* download, 86 content::DownloadItem* download, 92 // Display a prompt to the user requesting that a download target be chosen. 95 content::DownloadItem* download, 103 virtual void DetermineLocalPath(content::DownloadItem* download, 107 // Check whether the download URL is malicious and invoke |callback| with [all...] |
download_util.h | 5 // Download utilities. 42 // Download temporary file creation -------------------------------------------- 44 // Return the default download directory. 52 // Helper function for download views to use when acting as a drag source for a 55 void DragDownload(const content::DownloadItem* download, 61 // Get the localized status text for an in-progress download. 62 string16 GetProgressStatusText(content::DownloadItem* download);
|
chrome_download_manager_delegate.cc | 5 #include "chrome/browser/download/chrome_download_manager_delegate.h" 21 #include "chrome/browser/download/download_completion_blocker.h" 22 #include "chrome/browser/download/download_crx_util.h" 23 #include "chrome/browser/download/download_file_picker.h" 24 #include "chrome/browser/download/download_history.h" 25 #include "chrome/browser/download/download_path_reservation_tracker.h" 26 #include "chrome/browser/download/download_prefs.h" 27 #include "chrome/browser/download/download_service.h" 28 #include "chrome/browser/download/download_service_factory.h" 29 #include "chrome/browser/download/download_target_determiner.h [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/safe_browsing/ |
download_feedback_service.cc | 45 // Stores the ping data in the given |download|. 46 static void CreateForDownload(content::DownloadItem* download, 50 // Returns the DownloadFeedbackPings object associated with |download|. May 53 const content::DownloadItem& download); 77 content::DownloadItem* download, 82 download->SetUserData(kPingKey, pings); 87 const content::DownloadItem& download) { 88 return static_cast<DownloadFeedbackPings*>(download.GetUserData(kPingKey)); 108 content::DownloadItem* download, 115 download->GetReceivedBytes() / 1024) [all...] |
/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)
|
/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...] |