HomeSort by relevance Sort by last modified time
    Searched refs:download (Results 1 - 25 of 460) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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
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"
249 "Download in progress"));
349 "Download in progress"));
386 // Record all state transitions and byte counts on the observed download.
396 RecordingDownloadObserver(DownloadItem* download)
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/download/
download_item_mac.h 11 #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.
download_item_button.h 20 @property(assign, nonatomic) base::FilePath download; variable
  /external/chromium_org/chrome/browser/download/
drag_download_item_views.cc 5 #include "chrome/browser/download/drag_download_item.h"
31 void DragDownloadItem(const content::DownloadItem* download,
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->GetFileNameToReportUser()))
    [all...]
download_danger_prompt_browsertest.cc 7 #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(), IsDangerous()).WillOnce(Return(true))
    [all...]
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_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...]
download_browsertest.h 11 // DownloadTestObserver subclass that observes a download until it transitions
22 virtual bool IsDownloadInFinalState(content::DownloadItem* download) OVERRIDE;
chrome_download_manager_delegate.cc 5 #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_factory.h
    [all...]
chrome_download_manager_delegate.h 12 #include "chrome/browser/download/download_path_reservation_tracker.h"
13 #include "chrome/browser/download/download_target_determiner_delegate.h"
14 #include "chrome/browser/download/download_target_info.h"
48 // This is the Chrome side helper for the download system.
92 virtual void OpenDownload(content::DownloadItem* download) OVERRIDE;
93 virtual void ShowDownloadInShell(content::DownloadItem* download) OVERRIDE;
95 content::DownloadItem* download,
99 // Opens a download using the platform handler. DownloadItem::OpenDownload,
100 // which ends up being handled by OpenDownload(), will open a download in the
102 void OpenDownloadUsingPlatformHandler(content::DownloadItem* download);
    [all...]
  /external/chromium_org/chrome/browser/chromeos/drive/
download_handler.cc 16 #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) {
55 download->GetUserData(&kDrivePathKey));
58 DriveUserData* GetDriveUserData(DownloadItem* download) {
59 return static_cast<DriveUserData*>(download->GetUserData(&kDrivePathKey));
68 DCHECK(created) << "Can not create temp download directory at "
73 DCHECK(created) << "Temporary download file creation failed"
    [all...]
download_handler.h 11 #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/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 107 Download download = enqueueRequest(getRequest()); local
109 download.getLongField(DownloadManager.COLUMN_STATUS));
111 download.getStringField(DownloadManager.COLUMN_URI));
112 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID));
114 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP));
117 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL);
122 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI));
125 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE))
146 final Download download = enqueueRequest(getRequest() local
164 Download download = enqueueRequest(getRequest() local
186 Download download = enqueueRequest(getRequest()); local
206 Download download = enqueueRequest(getRequest().setDestinationUri(getExternalUri())); local
350 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); local
370 Download download = enqueueRequest(getRequest().addRequestHeader("Header1", "value1") local
380 Download download = enqueueRequest(getRequest().addRequestHeader("header", "value")); local
396 Download download = enqueueRequest(getRequest()); local
423 final Download download = enqueueRequest(getRequest()); local
437 final Download download = enqueueRequest(getRequest()); local
464 final Download download = enqueueRequest(getRequest()); local
486 Download download = enqueueRequest(getRequest()); local
508 Download download = enqueueRequest(getRequest()); local
527 Download download = enqueueRequest(getRequest()); local
539 Download download = enqueueRequest(getRequest()); local
560 Download download = enqueueRequest(getRequest()); local
575 Download download = enqueueRequest(getRequest()); local
594 Download download = enqueueRequest(getRequest()); local
608 final Download download = enqueueRequest(getRequest()); local
616 final Download download = enqueueRequest( local
628 final Download download = enqueueRequest(getRequest()); local
639 final Download download = enqueueRequest(getRequest().setNotificationVisibility( local
654 Download download = enqueueRequest(getRequest()); local
668 Download download = enqueueRequest(getRequest()); local
687 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); local
692 Download download = enqueueRequest(getRequest()); local
706 Download download = enqueueRequest(getRequest()); local
722 Download download = enqueueRequest(getRequest()); local
740 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...]
download_feedback_service.h 41 // 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 feedback for |download|. The |download| will be delete
    [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/media/cast/test/utility/
netload.py 53 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=False
    [all...]
  /external/chromium_org/chrome/browser/resources/downloads/
downloads.css 34 .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 .src-url
    [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)

Completed in 2872 milliseconds

1 2 3 4 5 6 7 8 91011>>