Searched defs:download (Results 1 - 25 of 63) sorted by relevance

123

/external/chromium_org/chrome/browser/ui/cocoa/download/
H A Ddownload_item_button.h20 @property(assign, nonatomic) base::FilePath download; variable
/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/native_client_sdk/src/build_tools/sdk_tools/command/
H A Dsources.py5 import download namespace
10 download.UrlOpen(url)
/external/chromium_org/tools/valgrind/
H A Dwaterfall.sh18 download() { function
20 # $1 = URL to download
28 echo "Failed to download '$1'... aborting"
36 echo "Failed to download '$1'... aborting"
40 echo "Need either curl or wget to download stuff... aborting"
56 download $1 "$LOGS_DIR/builders"
67 download $SLAVE_URL?numbuilds=${NUMBUILDS} "$LOGS_DIR/slave_${S}"
95 download $SLAVE_URL/builds/$BUILD "$TMPFILE"
109 download "$SLAVE_URL/builds/$REPORT/text" "$TMPFILE"
/external/chromium_org/chrome/browser/download/
H A Ddownload_item_model.h28 // such, the caller is expected to ensure that the |download| passed into the
33 // Constructs a DownloadItemModel. The caller must ensure that |download|
35 explicit DownloadItemModel(content::DownloadItem* download);
38 // Returns a long descriptive string for a download that's in the INTERRUPTED
42 // Returns a short one-line status string for the download.
45 // Returns the localized status text for an in-progress download. This
49 // Returns a string suitable for use as a tooltip. For a regular download, the
50 // tooltip is the filename. For an interrupted download, the string states the
60 // Get the warning text to display for a dangerous download. The |base_width|
66 // Get the caption text for a button for confirming a dangerous download
155 content::DownloadItem* download() { return download_; } function in class:DownloadItemModel
[all...]
H A Ddownload_status_updater_win.cc5 #include "chrome/browser/download/download_status_updater.h"
60 content::DownloadItem* download) {
59 UpdateAppIconDownloadProgress( content::DownloadItem* download) argument
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 Dtest_download_shelf.cc5 #include "chrome/browser/download/test_download_shelf.h"
46 void TestDownloadShelf::DoAddDownload(content::DownloadItem* download) { argument
H A Ddownload_danger_prompt.cc5 #include "chrome/browser/download/download_danger_prompt.h"
10 #include "chrome/browser/download/chrome_download_manager_delegate.h"
11 #include "chrome/browser/download/download_stats.h"
45 virtual void OnDownloadUpdated(content::DownloadItem* download) OVERRIDE;
68 content::DownloadItem* download,
73 download_(download),
80 // ExperienceSampling: A malicious download warning is being shown to the
84 download->GetURL(),
85 download->GetReferrerUrl(),
86 download
67 DownloadDangerPromptImpl( content::DownloadItem* download, content::WebContents* web_contents, bool show_context, const OnDone& done) argument
106 OnDownloadUpdated( content::DownloadItem* download) argument
[all...]
H A Ddownload_status_updater.cc5 #include "chrome/browser/download/download_status_updater.h"
138 content::DownloadItem* download) {
137 UpdateAppIconDownloadProgress( content::DownloadItem* download) argument
H A Ddownload_shelf_context_menu.cc5 #include "chrome/browser/download/download_shelf_context_menu.h"
9 #include "chrome/browser/download/download_crx_util.h"
10 #include "chrome/browser/download/download_item_model.h"
11 #include "chrome/browser/download/download_prefs.h"
12 #include "chrome/browser/download/download_target_determiner.h"
68 // We shouldn't be opening a context menu for a dangerous download, unless it
69 // is a malicious download.
278 void DownloadShelfContextMenu::OnDownloadDestroyed(DownloadItem* download) { argument
279 DCHECK(download_item_ == download);
H A Dsave_package_file_picker.cc5 #include "chrome/browser/download/save_package_file_picker.h"
14 #include "chrome/browser/download/chrome_download_manager_delegate.h"
15 #include "chrome/browser/download/download_prefs.h"
43 void OnSavePackageDownloadCreated(content::DownloadItem* download) { argument
44 ChromeDownloadManagerDelegate::DisableSafeBrowsing(download);
51 content::DownloadItem* download) {
53 drive_path, download);
54 OnSavePackageDownloadCreated(download);
48 OnSavePackageDownloadCreatedChromeOS( Profile* profile, const base::FilePath& drive_path, content::DownloadItem* download) argument
/external/chromium_org/remoting/webapp/
H A Dhost_installer.js8 * HostInstaller allows the caller to download the host binary and monitor the
12 * To download the host and wait for install:
85 remoting.HostInstaller.prototype.download = function() {
135 that.download();
/external/qemu/android/
H A Dandroid.h39 int download; member in struct:__anon29020
/external/chromium_org/chrome/browser/extensions/api/streams_private/
H A Dstreams_private_apitest.cc8 #include "chrome/browser/download/download_prefs.h"
161 // Ensure there are no prompts for download during the test.
216 // Returns the download manager for the current browser.
224 // Deletes the download and waits until it's flushed.
225 // The |manager| should have |download| in its list of downloads.
226 void DeleteDownloadAndWaitForFlush(DownloadItem* download, argument
230 download->Remove();
243 // onExecuteContentHandler event (and does not start a download).
274 // onExecuteContentHandler event (and does not start a download).
314 // Tests that navigation to an attachment starts a download, eve
[all...]
/external/chromium_org/chrome/browser/plugins/
H A Dplugin_installer.cc11 #include "chrome/browser/download/download_stats.h"
30 void PluginInstaller::OnDownloadUpdated(DownloadItem* download) { argument
31 DownloadItem::DownloadState state = download->GetState();
47 content::DownloadInterruptReason reason = download->GetLastReason();
56 download->RemoveObserver(this);
59 void PluginInstaller::OnDownloadDestroyed(DownloadItem* download) { argument
62 download->RemoveObserver(this);
/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...]
/external/chromium_org/content/public/browser/
H A Ddownload_item.h5 // Each download is represented by a DownloadItem, and all DownloadItems
7 // downloads. DownloadItems are created when a user initiates a download,
12 // - allows observers to receive notifications about one download from start
14 // Use AddObserver() / RemoveObserver() on the appropriate download object to
46 // One DownloadItem per download. This is the model class that stores all the
47 // state for a download. Multiple views, such as a tab's download shelf and the
48 // Destination tab's download view, may refer to a given DownloadItem.
63 // This state indicates that the download has been interrupted.
85 // Interface that observers of a particular download mus
89 OnDownloadUpdated(DownloadItem* download) argument
90 OnDownloadOpened(DownloadItem* download) argument
91 OnDownloadRemoved(DownloadItem* download) argument
96 OnDownloadDestroyed(DownloadItem* download) argument
[all...]
H A Ddownload_manager_delegate.h28 // operation. If the delegate wants notification of the download item created
37 // to cancel the download, then |target_path| should be set to an empty path. If
48 // Called when a download delayed by the delegate has completed.
56 // Browser's download manager: manages all downloads and destination view.
59 // Lets the delegate know that the download manager is shutting down.
62 // Runs |callback| with a new download id when possible, perhaps
66 // Called to notify the delegate that a new download |item| requires a
67 // download target to be determined. The delegate should return |true| if it
70 // |false|, the download manager will continue the download usin
122 OpenDownload(DownloadItem* download) argument
125 ShowDownloadInShell(DownloadItem* download) argument
128 CheckForFileExistence( DownloadItem* download, const CheckForFileExistenceCallback& callback) argument
[all...]
/external/libnfc-nxp/Linux_x86/
H A DphDal4Nfc_link.h57 phDal4Nfc_link_download_CB_t download; member in struct:__anon24409
/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...]
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dlast_download_finder.cc48 // Returns a pointer to the most interesting completed download in |downloads|.
63 // Populates the |details| protobuf with information pertaining to |download|.
64 void PopulateDetails(const history::DownloadRow& download, argument
67 download_request->set_url(download.url_chain.back().spec());
71 download_request->set_length(download.received_bytes);
72 for (size_t i = 0; i < download.url_chain.size(); ++i) {
73 const GURL& url = download.url_chain[i];
77 if (i != download.url_chain.size() - 1) { // An intermediate redirect.
79 } else { // The final download URL.
81 if (!download
[all...]
H A Dlast_download_finder_unittest.cc67 safe_browsing::ClientIncidentReport_DownloadDetails> download) {
72 // download to its history.
84 // passes the found download to |result| and then runs a closure.
89 download) {
90 *result = download.Pass();
156 void AddDownload(Profile* profile, const history::DownloadRow& download) { argument
162 download,
187 // Runs the last download finder on all loaded profiles, returning the found
188 // download or an empty pointer if none was found.
234 safe_browsing::ClientIncidentReport_DownloadDetails> download) {
66 NeverCalled(scoped_ptr< safe_browsing::ClientIncidentReport_DownloadDetails> download) argument
85 OnLastDownload( scoped_ptr<safe_browsing::ClientIncidentReport_DownloadDetails>* result, const base::Closure& quit_closure, scoped_ptr<safe_browsing::ClientIncidentReport_DownloadDetails> download) argument
233 ExpectNoDownloadFound(scoped_ptr< safe_browsing::ClientIncidentReport_DownloadDetails> download) argument
238 ExpectFoundTestDownload(scoped_ptr< safe_browsing::ClientIncidentReport_DownloadDetails> download) argument
[all...]
/external/chromium_org/content/shell/browser/
H A Dshell_download_manager_delegate.cc61 DownloadItem* download,
71 if (!download->GetForcedFilePath().empty()) {
72 callback.Run(download->GetForcedFilePath(),
75 download->GetForcedFilePath());
82 download->GetId(),
89 download->GetURL(),
90 download->GetContentDisposition(),
91 download->GetSuggestedFilename(),
92 download->GetMimeType(),
130 "download");
60 DetermineDownloadTarget( DownloadItem* download, const DownloadTargetCallback& callback) argument
[all...]

Completed in 430 milliseconds

123