Home
last modified time | relevance | path

Searched refs:DownloadManager (Results 1 – 25 of 121) sorted by relevance

12345

/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
Dpopup.js444 DownloadManager.startPollingProgress();
521 var DownloadManager = {}; variable
523 DownloadManager.showingOlder = false;
525 DownloadManager.getItem = function(id) {
530 DownloadManager.getOrCreate = function(data) {
531 var item = DownloadManager.getItem(data.id);
535 DownloadManager.forEachItem = function(cb) {
542 DownloadManager.startPollingProgress = function() {
543 if (DownloadManager.startPollingProgress.tid < 0) {
544 DownloadManager.startPollingProgress.tid = setTimeout(
[all …]
/external/chromium/chrome/browser/download/
Ddownload_manager.cc50 DownloadManager::DownloadManager(DownloadStatusUpdater* status_updater) in DownloadManager() function in DownloadManager
59 DownloadManager::~DownloadManager() { in ~DownloadManager()
65 void DownloadManager::Shutdown() { in Shutdown()
137 void DownloadManager::GetTemporaryDownloads( in GetTemporaryDownloads()
149 void DownloadManager::GetAllDownloads( in GetAllDownloads()
161 void DownloadManager::GetCurrentDownloads( in GetCurrentDownloads()
190 void DownloadManager::SearchDownloads(const string16& query, in SearchDownloads()
220 bool DownloadManager::Init(Profile* profile) { in Init()
229 NewCallback(this, &DownloadManager::OnQueryDownloadEntriesComplete)); in Init()
256 void DownloadManager::StartDownload(DownloadCreateInfo* info) { in StartDownload()
[all …]
Ddownload_file.h17 class DownloadManager; variable
27 DownloadManager* download_manager);
34 DownloadManager* GetDownloadManager();
50 scoped_refptr<DownloadManager> download_manager_;
Ddownload_manager.h65 class DownloadManager
66 : public base::RefCountedThreadSafe<DownloadManager,
71 explicit DownloadManager(DownloadStatusUpdater* status_updater);
255 DownloadManager* observing_download_manager);
264 DownloadManager* observing_download_manager_;
267 DownloadManager* observed_download_manager_;
271 friend class DeleteTask<DownloadManager>;
274 ~DownloadManager();
400 DISALLOW_COPY_AND_ASSIGN(DownloadManager);
Ddownload_file_manager.cc33 DownloadManager* DownloadManagerForRenderViewHost(int render_process_id, in DownloadManagerForRenderViewHost()
73 DownloadManager* download_manager, in CreateDownloadFile()
107 &DownloadManager::StartDownload, info)); in CreateDownloadFile()
141 DownloadManager* manager = download_file->GetDownloadManager(); in UpdateInProgressDownloads()
144 NewRunnableMethod(manager, &DownloadManager::UpdateDownload, in UpdateInProgressDownloads()
161 DownloadManager* manager = DownloadManagerForRenderViewHost( in StartDownload()
223 DownloadManager* download_manager = download->GetDownloadManager(); in OnResponseCompleted()
236 download_manager, &DownloadManager::OnResponseCompleted, in OnResponseCompleted()
277 void DownloadFileManager::OnDownloadManagerShutdown(DownloadManager* manager) { in OnDownloadManagerShutdown()
345 DownloadManager* download_manager = download->GetDownloadManager(); in RenameCompletingDownloadFile()
[all …]
/external/chromium_org/chrome/browser/download/
Dall_download_item_notifier.h35 class AllDownloadItemNotifier : public content::DownloadManager::Observer,
47 content::DownloadManager* manager, content::DownloadItem* item) {} in OnDownloadCreated()
49 content::DownloadManager* manager, content::DownloadItem* item) {} in OnDownloadUpdated()
51 content::DownloadManager* manager, content::DownloadItem* item) {} in OnDownloadOpened()
53 content::DownloadManager* manager, content::DownloadItem* item) {} in OnDownloadRemoved()
59 AllDownloadItemNotifier(content::DownloadManager* manager,
65 content::DownloadManager* GetManager() const { return manager_; } in GetManager()
69 virtual void ManagerGoingDown(content::DownloadManager* manager) OVERRIDE;
70 virtual void OnDownloadCreated(content::DownloadManager* manager,
79 content::DownloadManager* manager_;
Dtest_download_shelf.h16 public content::DownloadManager::Observer {
30 void set_download_manager(content::DownloadManager* download_manager);
33 virtual void ManagerGoingDown(content::DownloadManager* manager) OVERRIDE;
40 virtual content::DownloadManager* GetDownloadManager() OVERRIDE;
45 content::DownloadManager* download_manager_;
Ddownload_status_updater.cc69 content::DownloadManager::DownloadVector items; in GetProgress()
71 for (content::DownloadManager::DownloadVector::const_iterator it = in GetProgress()
92 void DownloadStatusUpdater::AddManager(content::DownloadManager* manager) { in AddManager()
94 content::DownloadManager::DownloadVector items; in AddManager()
96 for (content::DownloadManager::DownloadVector::const_iterator in AddManager()
103 content::DownloadManager* manager, content::DownloadItem* item) { in OnDownloadCreated()
116 content::DownloadManager* manager, content::DownloadItem* item) { in OnDownloadUpdated()
Dall_download_item_notifier_unittest.cc25 content::DownloadManager* manager, content::DownloadItem* item));
27 content::DownloadManager* manager, content::DownloadItem* item));
29 content::DownloadManager* manager, content::DownloadItem* item));
31 content::DownloadManager* manager, content::DownloadItem* item));
55 content::DownloadManager::Observer* NotifierAsManagerObserver() const { in NotifierAsManagerObserver()
84 content::DownloadManager::DownloadVector items; in TEST_F()
Dall_download_item_notifier.cc8 content::DownloadManager* manager, in AllDownloadItemNotifier()
14 content::DownloadManager::DownloadVector items; in AllDownloadItemNotifier()
16 for (content::DownloadManager::DownloadVector::const_iterator it = in AllDownloadItemNotifier()
36 content::DownloadManager* manager) { in ManagerGoingDown()
43 content::DownloadManager* manager, in OnDownloadCreated()
Ddownload_service.cc23 using content::DownloadManager;
34 DownloadManager* manager = BrowserContext::GetDownloadManager(profile_); in GetDownloadManagerDelegate()
123 content::DownloadManager* download_manager = in CancelAllDownloads()
125 content::DownloadManager::DownloadVector downloads; in CancelAllDownloads()
127 for (content::DownloadManager::DownloadVector::iterator it = in CancelAllDownloads()
140 DownloadManager* dm = BrowserContext::GetDownloadManager(profile_); in SetDownloadManagerDelegateForTesting()
Ddownload_history.h77 content::DownloadManager* manager,
102 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
104 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
106 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
108 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
Ddownload_status_updater.h33 void AddManager(content::DownloadManager* manager);
37 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
39 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
Ddownload_ui_controller.h43 DownloadUIController(content::DownloadManager* manager,
49 virtual void OnDownloadCreated(content::DownloadManager* manager,
51 virtual void OnDownloadUpdated(content::DownloadManager* manager,
Dtest_download_shelf.cc33 content::DownloadManager* download_manager) { in set_download_manager()
41 void TestDownloadShelf::ManagerGoingDown(content::DownloadManager* manager) { in ManagerGoingDown()
62 content::DownloadManager* TestDownloadShelf::GetDownloadManager() { in GetDownloadManager()
Dsave_page_browsertest.cc47 using content::DownloadManager;
189 class DownloadItemCreatedObserver : public DownloadManager::Observer {
191 explicit DownloadItemCreatedObserver(DownloadManager* manager) in DownloadItemCreatedObserver()
226 DownloadManager* manager, DownloadItem* item) OVERRIDE { in OnDownloadCreated()
234 virtual void ManagerGoingDown(DownloadManager* manager) OVERRIDE { in ManagerGoingDown()
242 DownloadManager* manager_;
248 class SavePackageFinishedObserver : public content::DownloadManager::Observer {
250 SavePackageFinishedObserver(content::DownloadManager* manager, in SavePackageFinishedObserver()
264 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE { in OnSavePackageSuccessfullyFinished()
267 virtual void ManagerGoingDown(content::DownloadManager* manager) OVERRIDE { in ManagerGoingDown()
[all …]
/external/chromium_org/content/public/test/
Ddownload_test_observer.h59 class DownloadTestObserver : public DownloadManager::Observer,
73 DownloadTestObserver(DownloadManager* download_manager,
91 DownloadManager* manager, DownloadItem* item) OVERRIDE;
92 virtual void ManagerGoingDown(DownloadManager* manager) OVERRIDE;
126 DownloadManager* download_manager_;
177 DownloadManager* download_manager,
199 DownloadManager* download_manager, size_t wait_count);
214 DownloadManager* download_manager,
234 : public DownloadManager::Observer,
238 explicit DownloadTestFlushObserver(DownloadManager* download_manager);
[all …]
/external/chromium_org/chrome/browser/extensions/api/streams_private/
Dstreams_private_apitest.cc33 using content::DownloadManager;
125 DownloadManager* manager = GetDownloadManager(); in InitializeDownloadSettings()
176 DownloadManager* GetDownloadManager() const { in GetDownloadManager()
177 DownloadManager* download_manager = in GetDownloadManager()
186 DownloadManager* manager) { in DeleteDownloadAndWaitForFlush()
221 DownloadManager* download_manager = GetDownloadManager(); in IN_PROC_BROWSER_TEST_F()
242 DownloadManager* download_manager = GetDownloadManager(); in IN_PROC_BROWSER_TEST_F()
253 DownloadManager::DownloadVector downloads; in IN_PROC_BROWSER_TEST_F()
279 DownloadManager* download_manager = GetDownloadManager(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/public/browser/
Ddownload_manager.h57 class CONTENT_EXPORT DownloadManager : public base::SupportsUserData::Data {
59 virtual ~DownloadManager() {} in ~DownloadManager()
84 DownloadManager* manager, DownloadItem* item) {} in OnDownloadCreated()
88 DownloadManager* manager, DownloadItem* item) {} in OnSavePackageSuccessfullyFinished()
92 virtual void ManagerGoingDown(DownloadManager* manager) {} in ManagerGoingDown()
/external/chromium_org/chrome/browser/chromeos/drive/
Ddownload_handler.h18 class DownloadManager; variable
37 void Initialize(content::DownloadManager* download_manager,
72 virtual void OnDownloadCreated(content::DownloadManager* manager,
74 virtual void OnDownloadUpdated(content::DownloadManager* manager,
Ddownload_handler.cc19 using content::DownloadManager;
123 DownloadManager* download_manager, in Initialize()
132 content::DownloadManager::DownloadVector downloads; in Initialize()
209 void DownloadHandler::OnDownloadCreated(DownloadManager* manager, in OnDownloadCreated()
223 DownloadManager* manager = notifier_->GetManager(); in RemoveDownload()
233 DownloadManager* manager, DownloadItem* download) { in OnDownloadUpdated()
304 DownloadManager* manager = notifier_->GetManager(); in SetCacheFilePath()
/external/chromium_org/chrome/browser/ui/webui/
Ddownloads_dom_handler.h32 explicit DownloadsDOMHandler(content::DownloadManager* dlm);
42 content::DownloadManager* manager,
45 content::DownloadManager* manager,
48 content::DownloadManager* manager,
/external/chromium_org/content/browser/download/
Ddownload_request_handle.h16 class DownloadManager; variable
31 virtual DownloadManager* GetDownloadManager() const = 0;
67 virtual DownloadManager* GetDownloadManager() const OVERRIDE;
/external/chromium_org/content/shell/browser/
Dshell_download_manager_delegate.h14 class DownloadManager; variable
22 void SetDownloadManager(DownloadManager* manager);
56 DownloadManager* download_manager_;
/external/chromium/chrome/browser/ui/webui/
Ddownloads_dom_handler.h21 public DownloadManager::Observer,
24 explicit DownloadsDOMHandler(DownloadManager* dlm);
89 DownloadManager* download_manager_;

12345