Searched refs:download (Results 1 - 25 of 159) sorted by relevance

1234567

/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
H A Dicons.js6 var download = document.getElementById('download');
7 download.onclick = function() {
9 download.disabled = true;
/external/chromium_org/chrome/browser/download/
H A Ddrag_download_item_views.cc5 #include "chrome/browser/download/drag_download_item.h"
31 void DragDownloadItem(const content::DownloadItem* download, argument
34 DCHECK(download);
35 DCHECK_EQ(content::DownloadItem::COMPLETE, download->GetState());
41 download->GetFileNameToReportUser(),
45 base::FilePath full_path = download->GetTargetFilePath();
48 Profile* profile = Profile::FromBrowserContext(download->GetBrowserContext());
52 drive_download_handler->IsDriveDownload(download))
53 full_path = drive_download_handler->GetCacheFilePath(download);
57 ui::FileInfo(full_path, download
[all...]
H A Ddownload_danger_prompt_browsertest.cc7 #include "chrome/browser/download/download_danger_prompt.h"
69 content::MockDownloadItem& download() { return download_; } function in class:DownloadDangerPromptTest
107 ON_CALL(download(), GetURL()).WillByDefault(ReturnRef(GURL::EmptyGURL()));
108 ON_CALL(download(), GetReferrerUrl())
110 ON_CALL(download(), GetBrowserContext())
125 // If the download is no longer dangerous (because it was accepted), the
128 EXPECT_CALL(download(), IsDangerous()).WillOnce(Return(false));
129 download().NotifyObserversDownloadUpdated();
132 // If the download is in a terminal state then the dialog should DISMISS
135 EXPECT_CALL(download(), IsDangerou
[all...]
H A Ddrag_download_item.h18 // Helper function for download views to use when acting as a drag source for a
21 void DragDownloadItem(const content::DownloadItem* download,
H A Ddownload_target_determiner_delegate.h10 #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 UR
[all...]
H A Ddownload_browsertest.h11 // DownloadTestObserver subclass that observes a download until it transitions
22 virtual bool IsDownloadInFinalState(content::DownloadItem* download) OVERRIDE;
H A Dchrome_download_manager_delegate.cc5 #include "chrome/browser/download/chrome_download_manager_delegate.h"
24 #include "chrome/browser/download/download_completion_blocker.h"
25 #include "chrome/browser/download/download_crx_util.h"
26 #include "chrome/browser/download/download_file_picker.h"
27 #include "chrome/browser/download/download_history.h"
28 #include "chrome/browser/download/download_item_model.h"
29 #include "chrome/browser/download/download_path_reservation_tracker.h"
30 #include "chrome/browser/download/download_prefs.h"
31 #include "chrome/browser/download/download_service.h"
32 #include "chrome/browser/download/download_service_factor
113 GetPlatformDownloadPath(Profile* profile, const DownloadItem* download, PlatformDownloadPathType path_type) argument
239 DetermineDownloadTarget( DownloadItem* download, const content::DownloadTargetCallback& callback) argument
418 OpenDownloadUsingPlatformHandler( DownloadItem* download) argument
426 OpenDownload(DownloadItem* download) argument
463 ShowDownloadInShell( DownloadItem* download) argument
473 CheckForFileExistence( DownloadItem* download, const content::CheckForFileExistenceCallback& callback) argument
516 NotifyExtensions( DownloadItem* download, const base::FilePath& virtual_path, const NotifyExtensionsCallback& callback) argument
538 ReserveVirtualPath( content::DownloadItem* download, const base::FilePath& virtual_path, bool create_directory, DownloadPathReservationTracker::FilenameConflictAction conflict_action, const DownloadTargetDeterminerDelegate::ReservedPathCallback& callback) argument
563 PromptUserForDownloadPath( DownloadItem* download, const base::FilePath& suggested_path, const DownloadTargetDeterminerDelegate::FileSelectedCallback& callback) argument
571 DetermineLocalPath( DownloadItem* download, const base::FilePath& virtual_path, const DownloadTargetDeterminerDelegate::LocalPathCallback& callback) argument
588 CheckDownloadUrl( DownloadItem* download, const base::FilePath& suggested_path, const CheckDownloadUrlCallback& callback) argument
[all...]
H A Ddownload_shelf.cc7 #include "chrome/browser/download/download_shelf.h"
15 #include "chrome/browser/download/download_item_model.h"
16 #include "chrome/browser/download/download_service.h"
17 #include "chrome/browser/download/download_service_factory.h"
18 #include "chrome/browser/download/download_started_animation.h"
39 // Delay before we show a transient download.
88 // Common images used for download progress animations. We load them once the
110 // Layer the foreground progress image in an arc proportional to the download
112 // the download progresses. However, if the download doe
260 AddDownload(DownloadItem* download) argument
321 ShowDownload(DownloadItem* download) argument
[all...]
/external/chromium_org/content/browser/download/
H A Ddownload_item_impl_delegate.cc5 #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) {} argument
68 void DownloadItemImplDelegate::OpenDownload(DownloadItemImpl* download) {} argument
70 void DownloadItemImplDelegate::ShowDownloadInShell(DownloadItemImpl* download) { argument
73 void DownloadItemImplDelegate::DownloadRemoved(DownloadItemImpl* download) {} argument
30 DetermineDownloadTarget( DownloadItemImpl* download, const DownloadTargetCallback& callback) argument
40 ShouldCompleteDownload( DownloadItemImpl* download, const base::Closure& complete_callback) argument
46 ShouldOpenDownload( DownloadItemImpl* download, const ShouldOpenDownloadCallback& callback) argument
[all...]
H A Ddownload_item_impl_delegate.h32 // 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...]
H A Ddownload_browsertest.cc5 // This file contains download browser tests that are known to be runnable
18 #include "content/browser/download/download_file_factory.h"
19 #include "content/browser/download/download_file_impl.h"
20 #include "content/browser/download/download_item_impl.h"
21 #include "content/browser/download/download_manager_impl.h"
22 #include "content/browser/download/download_resource_handler.h"
386 // Record all state transitions and byte counts on the observed download.
396 RecordingDownloadObserver(DownloadItem* download) argument
397 : download_(download) {
398 last_state_.state = download
495 DataReceivedFilter(int number_of_bytes, DownloadItem* download) argument
500 DownloadCompleteFilter(DownloadItem* download) argument
506 InitialSizeFilter(int* download_size, DownloadItem* download) argument
699 WaitForData(DownloadItem* download, int size) argument
710 ReleaseRSTAndConfirmInterruptForResume(DownloadItem* download) argument
720 ConfirmFileStatusForResume( DownloadItem* download, bool file_exists, int received_bytes, int total_bytes, const base::FilePath& expected_filename) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/drive/
H A Ddownload_handler.cc16 #include "chrome/browser/download/download_history.h"
17 #include "chrome/browser/download/download_service.h"
18 #include "chrome/browser/download/download_service_factory.h"
52 // Extracts DriveUserData* from |download|.
53 const DriveUserData* GetDriveUserData(const DownloadItem* download) { argument
55 download->GetUserData(&kDrivePathKey));
58 DriveUserData* GetDriveUserData(DownloadItem* download) { argument
59 return static_cast<DriveUserData*>(download->GetUserData(&kDrivePathKey));
68 DCHECK(created) << "Can not create temp download directory at "
73 DCHECK(created) << "Temporary download fil
98 IsPersistedDriveDownload(const base::FilePath& drive_tmp_download_path, DownloadItem* download) argument
155 SubstituteDriveDownloadPath( const base::FilePath& drive_path, content::DownloadItem* download, const SubstituteDriveDownloadPathCallback& callback) argument
177 SetDownloadParams(const base::FilePath& drive_path, DownloadItem* download) argument
194 GetTargetPath( const DownloadItem* download) argument
203 GetCacheFilePath(const DownloadItem* download) argument
208 IsDriveDownload(const DownloadItem* download) argument
214 CheckForFileExistence( const DownloadItem* download, const content::CheckForFileExistenceCallback& callback) argument
223 OnDownloadCreated(DownloadManager* manager, DownloadItem* download) argument
247 OnDownloadUpdated( DownloadManager* manager, DownloadItem* download) argument
299 UploadDownloadItem(DownloadManager* manager, DownloadItem* download) argument
[all...]
H A Ddownload_handler.h11 #include "chrome/browser/download/all_download_item_notifier.h"
41 // download manager. This should be called only for the DownloadManager of the
53 content::DownloadItem* download,
57 // to external data in |download|. Also sets display name and
58 // makes |download| a temporary.
60 content::DownloadItem* download);
62 // Gets the target drive path from external data in |download|.
63 base::FilePath GetTargetPath(const content::DownloadItem* download);
65 // Gets the downloaded drive cache file path from external data in |download|.
66 base::FilePath GetCacheFilePath(const content::DownloadItem* download);
[all...]
/external/chromium_org/chrome/browser/safe_browsing/
H A Ddownload_feedback_service.cc28 // 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
59 CreateForDownload( content::DownloadItem* download, const std::string& ping_request, const std::string& ping_response) argument
69 FromDownload( const content::DownloadItem& download) argument
89 MaybeStorePingsForDownload( DownloadProtectionService::DownloadCheckResult result, content::DownloadItem* download, const std::string& ping, const std::string& response) argument
106 IsEnabledForDownload( const content::DownloadItem& download) argument
112 GetPingsForDownloadForTesting( const content::DownloadItem& download, std::string* ping, std::string* response) argument
134 BeginFeedbackForDownload( content::DownloadItem* download) argument
[all...]
H A Ddownload_feedback_service.h41 // Stores the request and response ping data from the download check, if the
43 // download has been flagged as malicious in order for the download to be
47 content::DownloadItem* download,
51 // Test if pings have been stored for |download|.
52 static bool IsEnabledForDownload(const content::DownloadItem& download);
54 // Get the ping values stored in |download|. Returns false if no ping values
57 const content::DownloadItem& download,
61 // Records histogram for download feedback option shown to user.
65 // Begin download feedbac
[all...]
/external/chromium_org/content/public/test/
H A Ddownload_test_observer.cc118 // NOTE: This method is called both by DownloadManager when a download is
130 void DownloadTestObserver::OnDownloadDestroyed(DownloadItem* download) { argument
132 DownloadSet::iterator it = downloads_observed_.find(download);
135 download->RemoveObserver(this);
138 void DownloadTestObserver::OnDownloadUpdated(DownloadItem* download) { argument
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
202 DownloadInFinalState(DownloadItem* download) argument
260 IsDownloadInFinalState( DownloadItem* download) argument
282 IsDownloadInFinalState( DownloadItem* download) argument
306 IsDownloadInFinalState( DownloadItem* download) argument
331 OnDownloadDestroyed(DownloadItem* download) argument
339 OnDownloadUpdated(DownloadItem* download) argument
[all...]
H A Ddownload_test_observer.h21 // Detects an arbitrary change on a download item.
56 // - The download manager was shutdown.
62 // Action an observer should take if a dangerous download is encountered.
64 ON_DANGEROUS_DOWNLOAD_ACCEPT, // Accept the download
65 ON_DANGEROUS_DOWNLOAD_DENY, // Deny the download
66 ON_DANGEROUS_DOWNLOAD_FAIL, // Fail if a dangerous download is seen
72 // download items have entered a terminal state.
86 virtual void OnDownloadUpdated(DownloadItem* download) OVERRIDE;
87 virtual void OnDownloadDestroyed(DownloadItem* download) OVERRIDE;
102 // Called to see if a download ite
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/download/
H A Ddownload_item_mac.h11 #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.
H A Ddownload_item_button.h20 @property(assign, nonatomic) base::FilePath download; variable
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/
H A Dsources.py5 import download namespace
10 download.UrlOpen(url)
/external/chromium_org/media/cast/test/utility/
H A Dnetload.py53 def Serve(socket, upload=True, download=True):
58 if download:
61 def Receiver(port, upload=True, download=True):
66 thread.start_new_thread(Serve, (s, upload, download))
69 def Connect(to_hostport, upload=True, download=False):
75 if download:
83 print "%s download <host> <port>" % sys.arv[0]
91 elif sys.argv[1] == "download":
92 Connect( (sys.argv[2], int(sys.argv[3])), upload=False, download=True)
94 Connect( (sys.argv[2], int(sys.argv[3])), upload=True, download
[all...]
/external/chromium_org/chrome/browser/resources/downloads/
H A Ddownloads.css34 .download {
61 .download .icon {
74 .download.otr > .safe,
75 .download.otr > .show-dangerous {
82 html[dir=rtl] .download.otr > .safe,
83 html[dir=rtl] .download.otr > .show-dangerous {
87 .download.otr > .safe:hover,
88 .download.otr > .show-dangerous:hover {
125 .download .status {
130 .download
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/tools/
H A Dfxc3 (cd "$dir"; ./download-mstools)
/external/mesa3d/src/gallium/state_trackers/d3d1x/tools/
H A Dfxc3 (cd "$dir"; ./download-mstools)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/properties/
H A DfeedPublish.eclipse.properties27 feedURL=http://download.eclipse.org/eclipse/downloads/builds-eclipse.xml
28 buildURL=http://download.eclipse.org/eclipse/downloads/drops/%%buildID%%
37 buildDetailURL=http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads/drops/%%buildID%%/
43 releaseNotesURL=http://download.eclipse.org/eclipse/downloads/drops/%%buildID%%/buildNotes.php
45 downloadsURL=http://download.eclipse.org/eclipse/downloads/
60 JUnitTestURL=http://download.eclipse.org/eclipse/downloads/drops/%%buildID%%/testResults.php
61 performanceTestURL=http://download.eclipse.org/eclipse/downloads/drops/%%buildID%%/performance/performance.php
82 # only need the filename; the full http URL can be assembled from buildURL + "/download.php?dropFile=" + filename or buildURL (switched to ftp://) + "/" + filename

Completed in 1011 milliseconds

1234567