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

123

/external/chromium/chrome/browser/ui/cocoa/download/
H A Ddownload_item_button.h21 @property(assign, nonatomic) FilePath download; variable
/external/webkit/Source/WebKit2/UIProcess/API/C/
H A DWKDownload.cpp40 WKURLRequestRef WKDownloadCopyRequest(WKDownloadRef download) argument
42 return toAPI(WebURLRequest::create(toImpl(download)->request()).leakRef());
45 WKDataRef WKDownloadGetResumeData(WKDownloadRef download) argument
47 return toAPI(toImpl(download)->resumeData());
50 void WKDownloadCancel(WKDownloadRef download) argument
52 return toImpl(download)->cancel();
/external/webkit/Source/WebKit2/UIProcess/
H A DWebFramePolicyListenerProxy.cpp43 void WebFramePolicyListenerProxy::download() function in class:WebKit::WebFramePolicyListenerProxy
/external/chromium/chrome/browser/ui/webui/
H A Ddownloads_dom_handler.h12 #include "chrome/browser/download/download_item.h"
13 #include "chrome/browser/download/download_manager.h"
19 // also observes changes to the download manager.
33 virtual void OnDownloadUpdated(DownloadItem* download);
34 virtual void OnDownloadOpened(DownloadItem* download) { } argument
59 // Callback for the "pause" message - pauses the file download.
62 // Callback for the "remove" message - removes the file download from shelf
66 // Callback for the "cancel" message - cancels the download.
76 // Clear all download items and their observers.
79 // Return the download tha
[all...]
H A Ddownloads_dom_handler.cc18 #include "chrome/browser/download/download_history.h"
19 #include "chrome/browser/download/download_item.h"
20 #include "chrome/browser/download/download_util.h"
97 void DownloadsDOMHandler::OnDownloadUpdated(DownloadItem* download) { argument
98 // Get the id for the download. Our downloads are sorted latest to first,
104 download);
110 results_value.Append(download_util::CreateDownloadItemValue(download, id));
114 // A download has started or been deleted. Query our DownloadManager for the
128 DownloadItem* download = *it; local
129 if (download
[all...]
/external/chromium/chrome/browser/download/
H A Ddownload_item_model.cc5 #include "chrome/browser/download/download_item_model.h"
11 #include "chrome/browser/download/download_item.h"
12 #include "chrome/browser/download/save_package.h"
22 DownloadItemModel::DownloadItemModel(DownloadItem* download) argument
23 : BaseDownloadItemModel(download) {
102 SavePageModel::SavePageModel(SavePackage* save, DownloadItem* download) argument
103 : BaseDownloadItemModel(download),
H A Ddownload_item_model.h18 // depending on the type of download.
21 explicit BaseDownloadItemModel(DownloadItem* download) argument
22 : download_(download) { }
31 DownloadItem* download() { return download_; } function in class:BaseDownloadItemModel
42 explicit DownloadItemModel(DownloadItem* download);
60 SavePageModel(SavePackage* save, DownloadItem* download);
H A Ddownload_shelf.cc5 #include "chrome/browser/download/download_shelf.h"
8 #include "chrome/browser/download/download_item.h"
9 #include "chrome/browser/download/download_item_model.h"
10 #include "chrome/browser/download/download_manager.h"
11 #include "chrome/browser/download/download_util.h"
22 : download_(download_model->download()),
29 DownloadItem* DownloadShelfContextMenu::download() const { function in class:DownloadShelfContextMenu
102 // It is possible for the download to complete before the user clicks the
103 // menu item, recheck if the download is in progress state before toggling
H A Ddrag_download_file.cc5 #include "chrome/browser/download/drag_download_file.h"
9 #include "chrome/browser/download/download_file.h"
10 #include "chrome/browser/download/download_item.h"
11 #include "chrome/browser/download/download_util.h"
72 // Create a temporary directory to save the temporary download file. We do
73 // not want to use the default download directory since we do not want the
74 // twisted file name shown in the download shelf if the file with the same
85 // On Windows, we need to wait till the download file is completed.
168 void DragDownloadFile::OnDownloadUpdated(DownloadItem* download) { argument
170 if (download
[all...]
H A Ddrag_download_file.h11 #include "chrome/browser/download/download_file.h"
12 #include "chrome/browser/download/download_item.h"
13 #include "chrome/browser/download/download_manager.h"
27 // On Windows, we need to download into a temporary file. Two threads are
32 // On MacOSX, we need to download into a file stream that has already been
58 virtual void OnDownloadUpdated(DownloadItem* download);
59 virtual void OnDownloadOpened(DownloadItem* download) { } argument
H A Ddownload_file_manager.cc5 #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 local
313 DownloadFile* download = GetDownloadFile(id); local
340 DownloadFile* download = GetDownloadFile(id); local
391 DownloadFile* download = GetDownloadFile(id); local
[all...]
H A Ddownload_manager_unittest.cc13 #include "chrome/browser/download/download_file.h"
14 #include "chrome/browser/download/download_file_manager.h"
15 #include "chrome/browser/download/download_item.h"
16 #include "chrome/browser/download/download_manager.h"
17 #include "chrome/browser/download/download_prefs.h"
18 #include "chrome/browser/download/download_status_updater.h"
19 #include "chrome/browser/download/download_util.h"
20 #include "chrome/browser/download/mock_download_manager.h"
72 // Get the download item with ID |id|.
96 // Make sure download ite
274 OnDownloadUpdated(DownloadItem* download) argument
279 OnDownloadOpened(DownloadItem* download) argument
424 DownloadItem* download = GetActiveDownloadItem(0); local
490 DownloadItem* download = GetActiveDownloadItem(0); local
557 DownloadItem* download = GetActiveDownloadItem(0); local
[all...]
/external/webkit/Source/WebKit2/WebProcess/Downloads/
H A DDownloadManager.cpp49 OwnPtr<Download> download = Download::create(downloadID, request); local
50 download->start(initiatingPage);
53 m_downloads.set(downloadID, download.leakPtr());
58 OwnPtr<Download> download = Download::create(downloadID, request); local
60 download->startWithHandle(initiatingPage, handle, initialRequest, response);
62 m_downloads.set(downloadID, download.leakPtr());
67 Download* download = m_downloads.get(downloadID); local
68 if (!download)
71 download->cancel();
74 void DownloadManager::downloadFinished(Download* download) argument
[all...]
/external/qemu/android/
H A Dandroid.h39 int download; member in struct:__anon10992
/external/webkit/Source/WebKit/win/
H A DWebFramePolicyListener.cpp100 HRESULT STDMETHODCALLTYPE WebFramePolicyListener::download(void) function in class:WebFramePolicyListener
H A DDefaultDownloadDelegate.cpp107 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::decideDestinationWithSuggestedFilename(IWebDownload *download, BSTR filename) argument
109 LOG(Download, "DefaultDownloadDelegate %p - decideDestinationWithSuggestedFilename %s", download, String(filename, SysStringLen(filename)).ascii().data());
113 if (FAILED(download->setDestination(filename, true))) {
136 if (FAILED(download->setDestination(fullPath, true))) {
142 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCancelAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge) argument
144 LOG(Download, "DefaultDownloadDelegate %p - didCancelAuthenticationChallenge %p", download, challenge);
145 download = 0;
149 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCreateDestination(IWebDownload* download, BSTR destination) argument
151 LOG(Download, "DefaultDownloadDelegate %p - didCreateDestination %s", download, String(destination, SysStringLen(destination)).ascii().data());
152 download
157 didReceiveAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge) argument
165 didReceiveDataOfLength(IWebDownload* download, unsigned length) argument
173 didReceiveResponse(IWebDownload* download, IWebURLResponse* response) argument
181 shouldDecodeSourceDataOfMIMEType(IWebDownload* download, BSTR encodingType, BOOL* shouldDecode) argument
190 willResumeWithResponse(IWebDownload* download, IWebURLResponse* response, long long fromByte) argument
199 willSendRequest(IWebDownload* download, IWebMutableURLRequest* request, IWebURLResponse* redirectResponse, IWebMutableURLRequest** finalRequest) argument
210 didBegin(IWebDownload* download) argument
217 didFinish(IWebDownload* download) argument
224 didFailWithError(IWebDownload* download, IWebError* error) argument
232 registerDownload(IWebDownload* download) argument
240 unregisterDownload(IWebDownload* download) argument
[all...]
/external/libnfc-nxp/Linux_x86/
H A DphDal4Nfc_link.h57 phDal4Nfc_link_download_CB_t download; member in struct:__anon8710
/external/qemu/android/protocol/
H A Dcore-commands.h68 int download; member in struct:UICmdGetNetSpeedResp
/external/webkit/Source/WebKit2/WebProcess/Authentication/
H A DAuthenticationManager.cpp76 void AuthenticationManager::didReceiveAuthenticationChallenge(Download* download, const AuthenticationChallenge& authenticationChallenge) argument
81 download->send(Messages::DownloadProxy::DidReceiveAuthenticationChallenge(authenticationChallenge, challengeID));
90 // This authentication challenge comes from a download.
105 // This authentication challenge comes from a download.
119 // This authentication challenge comes from a download.
/external/chromium/chrome/browser/ui/gtk/download/
H A Ddownload_item_gtk.h15 #include "chrome/browser/download/download_item.h"
51 virtual void OnDownloadUpdated(DownloadItem* download);
52 virtual void OnDownloadOpened(DownloadItem* download) { } argument
75 // Returns true IFF the download is dangerous and unconfirmed.
79 // Repaint the download progress.
91 // Sets the tooltip on the download button.
116 // Used for the download item's body and menu button in chrome theme mode.
127 // Used for the download icon.
134 // Dangerous download related. -----------------------------------------------
150 // Ninebox for the background of the dangerous download promp
[all...]
H A Ddownload_shelf_gtk.cc5 #include "chrome/browser/ui/gtk/download/download_shelf_gtk.h"
9 #include "chrome/browser/download/download_item.h"
10 #include "chrome/browser/download/download_item_model.h"
11 #include "chrome/browser/download/download_util.h"
15 #include "chrome/browser/ui/gtk/download/download_item_gtk.h"
32 // The height of the download items.
35 // Padding between the download widgets.
38 // Padding between the top/bottom of the download widgets and the edge of the
42 // Padding between the left side of the shelf and the first download item.
51 // The time between when the user mouses out of the download shel
206 DownloadItem* download = download_items_[i]->get_download(); local
[all...]
/external/webkit/Source/WebKit/gtk/tests/
H A Dtestdownload.c35 WebKitDownload* download; local
40 download = webkit_download_new(request);
42 g_assert_cmpstr(webkit_download_get_uri(download), ==, uri);
43 g_assert(webkit_download_get_network_request(download) == request);
44 g_assert(g_strrstr(uri, webkit_download_get_suggested_filename(download)));
45 g_assert(webkit_download_get_status(download) == WEBKIT_DOWNLOAD_STATUS_CREATED);
46 g_assert(!webkit_download_get_total_size(download));
47 g_assert(!webkit_download_get_current_size(download));
48 g_assert(!webkit_download_get_progress(download));
49 g_assert(!webkit_download_get_elapsed_time(download));
72 WebKitDownload* download = WEBKIT_DOWNLOAD(object); local
99 handle_download_requested_cb(WebKitDownload* download, gboolean* beenThere, gboolean asynch) argument
122 download_requested_cb(WebKitWebView* web_view, WebKitDownload* download, gboolean* beenThere) argument
131 download_requested_asynch_cb(WebKitWebView* web_view, WebKitDownload* download, gboolean* beenThere) argument
[all...]
/external/webkit/Source/WebKit2/WebProcess/Downloads/cfnet/
H A DDownloadCFNet.cpp45 static void didStartCallback(CFURLDownloadRef download, const void* clientInfo);
46 static CFURLRequestRef willSendRequestCallback(CFURLDownloadRef download, CFURLRequestRef request, CFURLResponseRef redirectionResponse, const void* clientInfo);
47 static void didReceiveAuthenticationChallengeCallback(CFURLDownloadRef download, CFURLAuthChallengeRef challenge, const void* clientInfo);
48 static void didReceiveResponseCallback(CFURLDownloadRef download, CFURLResponseRef response, const void* clientInfo);
49 static void willResumeWithResponseCallback(CFURLDownloadRef download, CFURLResponseRef response, UInt64 startingByte, const void* clientInfo);
50 static void didReceiveDataCallback(CFURLDownloadRef download, CFIndex length, const void* clientInfo);
51 static Boolean shouldDecodeDataOfMIMETypeCallback(CFURLDownloadRef download, CFStringRef encodingType, const void* clientInfo);
52 static void decideDestinationWithSuggestedObjectNameCallback(CFURLDownloadRef download, CFStringRef objectName, const void* clientInfo);
53 static void didCreateDestinationCallback(CFURLDownloadRef download, CFURLRef path, const void* clientInfo);
54 static void didFinishCallback(CFURLDownloadRef download, cons
186 Download* download = downloadFromClientInfo(clientInfo); local
196 Download* download = downloadFromClientInfo(clientInfo); local
[all...]
/external/chromium/chrome/browser/ui/views/download/
H A Ddownload_item_view.h5 // A ChromeView that implements one download on the Download shelf.
7 // indicating the download's file name, a text label indicating the
8 // download's status (such as the number of bytes downloaded so far)
9 // and a button for canceling an in progress download, or opening
10 // the completed download.
26 #include "chrome/browser/download/download_item.h"
27 #include "chrome/browser/download/download_manager.h"
59 DownloadItemView(DownloadItem* download,
73 DownloadItem* download() const { return download_; } function in class:DownloadItemView
76 virtual void OnDownloadUpdated(DownloadItem* download) OVERRID
[all...]
H A Ddownload_shelf_view.cc5 #include "chrome/browser/ui/views/download/download_shelf_view.h"
11 #include "chrome/browser/download/download_item.h"
12 #include "chrome/browser/download/download_item_model.h"
13 #include "chrome/browser/download/download_manager.h"
17 #include "chrome/browser/ui/views/download/download_item_view.h"
30 // Max number of download views we'll contain. Any time a view is added and
31 // we already have this many download views, one is removed.
34 // Padding from left edge and first download view.
43 // Padding between the download views.
55 // New download ite
396 DownloadItem* download = download_views_[i]->download(); local
[all...]

Completed in 306 milliseconds

123