Home
last modified time | relevance | path

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

1234

/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_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.cc26 using content::DownloadManager;
37 DownloadManager* manager = BrowserContext::GetDownloadManager(profile_); in GetDownloadManagerDelegate()
104 DownloadManager* download_manager = in CancelDownloads()
106 DownloadManager::DownloadVector downloads; in CancelDownloads()
108 for (DownloadManager::DownloadVector::iterator it = downloads.begin(); in CancelDownloads()
150 DownloadManager* dm = BrowserContext::GetDownloadManager(profile_); in SetDownloadManagerDelegateForTesting()
Ddownload_history.h80 content::DownloadManager* manager,
113 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
115 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
117 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE;
119 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.h36 DownloadUIController(content::DownloadManager* manager,
42 virtual void OnDownloadCreated(content::DownloadManager* manager,
44 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;
188 class DownloadItemCreatedObserver : public DownloadManager::Observer {
190 explicit DownloadItemCreatedObserver(DownloadManager* manager) in DownloadItemCreatedObserver()
225 DownloadManager* manager, DownloadItem* item) OVERRIDE { in OnDownloadCreated()
233 virtual void ManagerGoingDown(DownloadManager* manager) OVERRIDE { in ManagerGoingDown()
241 DownloadManager* manager_;
247 class SavePackageFinishedObserver : public content::DownloadManager::Observer {
249 SavePackageFinishedObserver(content::DownloadManager* manager, in SavePackageFinishedObserver()
263 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE { in OnSavePackageSuccessfullyFinished()
266 virtual void ManagerGoingDown(content::DownloadManager* manager) OVERRIDE { in ManagerGoingDown()
[all …]
Ddownload_ui_controller.cc93 DownloadUIController::DownloadUIController(content::DownloadManager* manager, in DownloadUIController()
113 void DownloadUIController::OnDownloadCreated(content::DownloadManager* manager, in OnDownloadCreated()
120 void DownloadUIController::OnDownloadUpdated(content::DownloadManager* manager, in OnDownloadUpdated()
/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 …]
Dtest_file_error_injector.h22 class DownloadManager; variable
76 DownloadManager* download_manager);
114 explicit TestFileErrorInjector(DownloadManager* download_manager);
Ddownload_test_observer.cc64 DownloadManager* download_manager, in DownloadTestObserver()
96 void DownloadTestObserver::ManagerGoingDown(DownloadManager* manager) { in ManagerGoingDown()
116 DownloadManager* manager, in OnDownloadCreated()
243 DownloadManager* download_manager, in DownloadTestObserverTerminal()
266 DownloadManager* download_manager, in DownloadTestObserverInProgress()
289 DownloadManager* download_manager, in DownloadTestObserverInterrupted()
312 DownloadManager* download_manager) in DownloadTestFlushObserver()
326 DownloadManager* manager, in OnDownloadCreated()
/external/chromium_org/chrome/browser/chromeos/drive/
Ddownload_handler.h18 class DownloadManager; variable
37 void Initialize(content::DownloadManager* download_manager,
44 content::DownloadManager* download_manager);
78 virtual void OnDownloadCreated(content::DownloadManager* manager,
80 virtual void OnDownloadUpdated(content::DownloadManager* manager,
92 void UploadDownloadItem(content::DownloadManager* manager,
104 content::DownloadManager* GetDownloadManager(void* manager_id);
Ddownload_handler.cc22 using content::DownloadManager;
131 DownloadManager* download_manager, in Initialize()
140 content::DownloadManager::DownloadVector downloads; in Initialize()
150 DownloadManager* download_manager) { in ObserveIncognitoDownloadManager()
223 void DownloadHandler::OnDownloadCreated(DownloadManager* manager, in OnDownloadCreated()
238 DownloadManager* manager = GetDownloadManager(manager_id); in RemoveDownload()
248 DownloadManager* manager, DownloadItem* download) { in OnDownloadUpdated()
299 void DownloadHandler::UploadDownloadItem(DownloadManager* manager, in UploadDownloadItem()
322 DownloadManager* manager = GetDownloadManager(manager_id); in SetCacheFilePath()
334 DownloadManager* DownloadHandler::GetDownloadManager(void* manager_id) { in GetDownloadManager()
/external/chromium_org/chrome/browser/extensions/api/streams_private/
Dstreams_private_apitest.cc35 using content::DownloadManager;
163 DownloadManager* manager = GetDownloadManager(); in InitializeDownloadSettings()
215 DownloadManager* GetDownloadManager() const { in GetDownloadManager()
216 DownloadManager* download_manager = in GetDownloadManager()
225 DownloadManager* manager) { in DeleteDownloadAndWaitForFlush()
260 DownloadManager* download_manager = GetDownloadManager(); in IN_PROC_BROWSER_TEST_F()
302 DownloadManager* download_manager = GetDownloadManager(); in IN_PROC_BROWSER_TEST_F()
323 DownloadManager* download_manager = GetDownloadManager(); in IN_PROC_BROWSER_TEST_F()
334 DownloadManager::DownloadVector downloads; in IN_PROC_BROWSER_TEST_F()
360 DownloadManager* download_manager = GetDownloadManager(); in IN_PROC_BROWSER_TEST_F()
[all …]
/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/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.h15 class DownloadManager; variable
22 void SetDownloadManager(DownloadManager* manager);
56 DownloadManager* download_manager_;
/external/chromium_org/chrome/browser/extensions/api/downloads/
Ddownloads_api.cc78 using content::DownloadManager;
396 DownloadManager** manager, in GetManagers()
397 DownloadManager** incognito_manager) { in GetManagers()
410 DownloadManager* manager = NULL; in GetDownload()
411 DownloadManager* incognito_manager = NULL; in GetDownload()
479 DownloadManager* manager, in RunDownloadQuery()
480 DownloadManager* incognito_manager, in RunDownloadQuery()
867 class ManagerDestructionObserver : public DownloadManager::Observer {
869 static void CheckForHistoryFilesRemoval(DownloadManager* manager) { in CheckForHistoryFilesRemoval()
874 new std::map<DownloadManager*, ManagerDestructionObserver*>(); in CheckForHistoryFilesRemoval()
[all …]
/external/chromium_org/chrome/browser/
Dbrowser_encoding_browsertest.cc68 class SavePackageFinishedObserver : public content::DownloadManager::Observer {
70 SavePackageFinishedObserver(content::DownloadManager* manager, in SavePackageFinishedObserver()
84 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE { in OnSavePackageSuccessfullyFinished()
87 virtual void ManagerGoingDown(content::DownloadManager* manager) OVERRIDE { in ManagerGoingDown()
93 content::DownloadManager* download_manager_;

1234