downloads 57 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc std::vector<content::DownloadItem*> downloads; downloads 58 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc download_manager->GetAllDownloads(&downloads); downloads 59 chrome/browser/browsing_data/browsing_data_remover_browsertest.cc EXPECT_EQ(expected, downloads.size()); downloads 132 chrome/browser/chromeos/drive/download_handler.cc content::DownloadManager::DownloadVector downloads; downloads 133 chrome/browser/chromeos/drive/download_handler.cc download_manager->GetAllDownloads(&downloads); downloads 134 chrome/browser/chromeos/drive/download_handler.cc for (size_t i = 0; i < downloads.size(); ++i) { downloads 135 chrome/browser/chromeos/drive/download_handler.cc if (IsPersistedDriveDownload(drive_tmp_download_path_, downloads[i])) downloads 136 chrome/browser/chromeos/drive/download_handler.cc RemoveDownload(downloads[i]->GetId()); downloads 60 chrome/browser/chromeos/file_manager/path_util.cc const base::FilePath downloads = GetDownloadsFolderForProfile(profile); downloads 65 chrome/browser/chromeos/file_manager/path_util.cc downloads)); downloads 67 chrome/browser/chromeos/file_manager/path_util.cc downloads)); downloads 81 chrome/browser/chromeos/file_manager/path_util.cc bases.push_back(std::make_pair(hashed_downloads, downloads)); downloads 266 chrome/browser/chromeos/file_manager/volume_manager.cc const base::FilePath downloads = downloads 268 chrome/browser/chromeos/file_manager/volume_manager.cc const bool success = RegisterDownloadsMountPoint(profile_, downloads); downloads 272 chrome/browser/chromeos/file_manager/volume_manager.cc CreateDownloadsVolumeInfo(downloads), downloads 120 chrome/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 121 chrome/browser/download/download_browsertest.cc manager_->GetAllDownloads(&downloads); downloads 122 chrome/browser/download/download_browsertest.cc if (!downloads.empty()) downloads 791 chrome/browser/download/download_browsertest.cc void GetDownloads(Browser* browser, std::vector<DownloadItem*>* downloads) { downloads 792 chrome/browser/download/download_browsertest.cc DCHECK(downloads); downloads 794 chrome/browser/download/download_browsertest.cc manager->GetAllDownloads(downloads); downloads 1085 chrome/browser/download/download_browsertest.cc content::DownloadManager::DownloadVector downloads; downloads 1086 chrome/browser/download/download_browsertest.cc DownloadManagerForBrowser(browser())->GetAllDownloads(&downloads); downloads 1087 chrome/browser/download/download_browsertest.cc EXPECT_EQ(1u, downloads.size()); downloads 1089 chrome/browser/download/download_browsertest.cc if (downloads.size() != 1) downloads 1094 chrome/browser/download/download_browsertest.cc DownloadItem* download = downloads[0]; downloads 1874 chrome/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 1875 chrome/browser/download/download_browsertest.cc DownloadManagerForBrowser(browser())->GetAllDownloads(&downloads); downloads 1876 chrome/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 1877 chrome/browser/download/download_browsertest.cc downloads[0]->ValidateDangerousDownload(); downloads 1922 chrome/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 1929 chrome/browser/download/download_browsertest.cc manager->GetAllDownloads(&downloads); downloads 1930 chrome/browser/download/download_browsertest.cc ASSERT_EQ(1UL, downloads.size()); downloads 1931 chrome/browser/download/download_browsertest.cc DownloadItem* item = downloads[0]; downloads 2026 chrome/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 2027 chrome/browser/download/download_browsertest.cc DownloadManagerForBrowser(browser())->GetAllDownloads(&downloads); downloads 2028 chrome/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 2029 chrome/browser/download/download_browsertest.cc EXPECT_EQ(DownloadItem::COMPLETE, downloads[0]->GetState()); downloads 2034 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); downloads 2035 chrome/browser/download/download_browsertest.cc EXPECT_TRUE(downloads[0]->GetOpened()); // Confirm it anyway. downloads 2097 chrome/browser/download/download_browsertest.cc content::DownloadManager::DownloadVector downloads; downloads 2098 chrome/browser/download/download_browsertest.cc DownloadManagerForBrowser(browser())->GetAllDownloads(&downloads); downloads 2099 chrome/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 2101 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); downloads 2134 chrome/browser/download/download_browsertest.cc content::DownloadManager::DownloadVector downloads; downloads 2135 chrome/browser/download/download_browsertest.cc DownloadManagerForBrowser(browser())->GetAllDownloads(&downloads); downloads 2136 chrome/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 2138 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); downloads 2196 chrome/browser/download/download_browsertest.cc content::DownloadManager::DownloadVector downloads; downloads 2197 chrome/browser/download/download_browsertest.cc DownloadManagerForBrowser(browser())->GetAllDownloads(&downloads); downloads 2198 chrome/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 2200 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); downloads 2268 chrome/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 2269 chrome/browser/download/download_browsertest.cc DownloadManagerForBrowser(browser())->GetAllDownloads(&downloads); downloads 2270 chrome/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 2272 chrome/browser/download/download_browsertest.cc downloads[0], base::Bind(&WasAutoOpened)).WaitForEvent(); downloads 125 chrome/browser/download/download_service.cc content::DownloadManager::DownloadVector downloads; downloads 126 chrome/browser/download/download_service.cc download_manager->GetAllDownloads(&downloads); downloads 128 chrome/browser/download/download_service.cc downloads.begin(); downloads 129 chrome/browser/download/download_service.cc it != downloads.end(); downloads 413 chrome/browser/download/save_page_browsertest.cc std::vector<DownloadItem*> downloads; downloads 414 chrome/browser/download/save_page_browsertest.cc manager->GetAllDownloads(&downloads); downloads 415 chrome/browser/download/save_page_browsertest.cc ASSERT_EQ(0u, downloads.size()); downloads 472 chrome/browser/download/save_page_browsertest.cc std::vector<DownloadItem*> downloads; downloads 473 chrome/browser/download/save_page_browsertest.cc manager->GetAllDownloads(&downloads); downloads 474 chrome/browser/download/save_page_browsertest.cc ASSERT_EQ(0u, downloads.size()); downloads 697 chrome/browser/download/save_page_browsertest.cc std::vector<DownloadItem*> downloads; downloads 698 chrome/browser/download/save_page_browsertest.cc manager->GetAllDownloads(&downloads); downloads 699 chrome/browser/download/save_page_browsertest.cc ASSERT_EQ(1UL, downloads.size()); downloads 700 chrome/browser/download/save_page_browsertest.cc DownloadRemovedObserver removed(browser()->profile(), downloads[0]->GetId()); downloads 125 chrome/browser/extensions/api/downloads/downloads_api.cc namespace downloads = extensions::api::downloads; downloads 484 chrome/browser/extensions/api/downloads/downloads_api.cc const downloads::DownloadQuery& query_in, downloads 511 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::ToString(query_in.state); downloads 521 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::ToString(query_in.danger); downloads 567 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction action) { downloads 569 chrome/browser/extensions/api/downloads/downloads_api.cc case downloads::FILENAME_CONFLICT_ACTION_NONE: downloads 570 chrome/browser/extensions/api/downloads/downloads_api.cc case downloads::FILENAME_CONFLICT_ACTION_UNIQUIFY: downloads 572 chrome/browser/extensions/api/downloads/downloads_api.cc case downloads::FILENAME_CONFLICT_ACTION_OVERWRITE: downloads 574 chrome/browser/extensions/api/downloads/downloads_api.cc case downloads::FILENAME_CONFLICT_ACTION_PROMPT: downloads 600 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FILENAME_CONFLICT_ACTION_UNIQUIFY), downloads 602 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FILENAME_CONFLICT_ACTION_UNIQUIFY) { downloads 638 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FILENAME_CONFLICT_ACTION_UNIQUIFY; downloads 685 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction conflict_action) { downloads 695 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction downloads 704 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FILENAME_CONFLICT_ACTION_UNIQUIFY; downloads 714 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction conflict_action) { downloads 811 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction downloads 814 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction downloads 964 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Download::Params> params( downloads 965 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Download::Params::Create(*args_)); downloads 967 chrome/browser/extensions/api/downloads/downloads_api.cc const downloads::DownloadOptions& options = params->options; downloads 1007 chrome/browser/extensions/api/downloads/downloads_api.cc typedef downloads::HeaderNameValuePair HeaderNameValuePair; downloads 1022 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::ToString(options.method); downloads 1043 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction creator_conflict_action, downloads 1077 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Search::Params> params( downloads 1078 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Search::Params::Create(*args_)); downloads 1117 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Pause::Params> params( downloads 1118 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Pause::Params::Create(*args_)); downloads 1138 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Resume::Params> params( downloads 1139 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Resume::Params::Create(*args_)); downloads 1159 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Resume::Params> params( downloads 1160 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Resume::Params::Create(*args_)); downloads 1178 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Erase::Params> params( downloads 1179 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Erase::Params::Create(*args_)); downloads 1211 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::RemoveFile::Params> params( downloads 1212 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::RemoveFile::Params::Create(*args_)); downloads 1244 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::AcceptDanger::Params> params( downloads 1245 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::AcceptDanger::Params::Create(*args_)); downloads 1321 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Show::Params> params( downloads 1322 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Show::Params::Create(*args_)); downloads 1353 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Open::Params> params( downloads 1354 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Open::Params::Create(*args_)); downloads 1376 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::Drag::Params> params( downloads 1377 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::Drag::Params::Create(*args_)); downloads 1404 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::SetShelfEnabled::Params> params( downloads 1405 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::SetShelfEnabled::Params::Create(*args_)); downloads 1470 chrome/browser/extensions/api/downloads/downloads_api.cc scoped_ptr<downloads::GetFileIcon::Params> params( downloads 1471 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::GetFileIcon::Params::Create(*args_)); downloads 1473 chrome/browser/extensions/api/downloads/downloads_api.cc const downloads::GetFileIconOptions* options = downloads 1528 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::OnDeterminingFilename::kEventName); downloads 1598 chrome/browser/extensions/api/downloads/downloads_api.cc DispatchEvent(downloads::OnDeterminingFilename::kEventName, downloads 1619 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction conflict_action, downloads 1626 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction* downloads 1667 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::FilenameConflictAction conflict_action, downloads 1710 chrome/browser/extensions/api/downloads/downloads_api.cc details.event_name == downloads::OnDeterminingFilename::kEventName); downloads 1714 chrome/browser/extensions/api/downloads/downloads_api.cc router->HasEventListener(downloads::OnChanged::kEventName) || downloads 1715 chrome/browser/extensions/api/downloads/downloads_api.cc router->HasEventListener(downloads::OnDeterminingFilename::kEventName); downloads 1756 chrome/browser/extensions/api/downloads/downloads_api.cc (!router->HasEventListener(downloads::OnCreated::kEventName) && downloads 1757 chrome/browser/extensions/api/downloads/downloads_api.cc !router->HasEventListener(downloads::OnChanged::kEventName) && downloads 1759 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::OnDeterminingFilename::kEventName))) { downloads 1764 chrome/browser/extensions/api/downloads/downloads_api.cc DispatchEvent(downloads::OnCreated::kEventName, downloads 1769 chrome/browser/extensions/api/downloads/downloads_api.cc (router->HasEventListener(downloads::OnChanged::kEventName) || downloads 1771 chrome/browser/extensions/api/downloads/downloads_api.cc downloads::OnDeterminingFilename::kEventName))) { downloads 1784 chrome/browser/extensions/api/downloads/downloads_api.cc !router->HasEventListener(downloads::OnChanged::kEventName)) { downloads 1837 chrome/browser/extensions/api/downloads/downloads_api.cc DispatchEvent(downloads::OnChanged::kEventName, downloads 1851 chrome/browser/extensions/api/downloads/downloads_api.cc DispatchEvent(downloads::OnErased::kEventName, downloads 101 chrome/browser/extensions/api/downloads/downloads_api.h extensions::api::downloads::FilenameConflictAction downloads 312 chrome/browser/extensions/api/downloads/downloads_api.h extensions::api::downloads::FilenameConflictAction conflict_action, downloads 319 chrome/browser/extensions/api/downloads/downloads_api.h extensions::api::downloads::FilenameConflictAction* downloads 335 chrome/browser/extensions/api/downloads/downloads_api.h extensions::api::downloads::FilenameConflictAction conflict_action, downloads 66 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc namespace api = extensions::api::downloads; downloads 3593 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc extensions::api::downloads::FilenameConflictAction conflict_action = downloads 34 chrome/browser/extensions/api/downloads_internal/downloads_internal_api.cc extensions::api::downloads::ParseFilenameConflictAction( downloads 253 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc std::vector<DownloadItem*> downloads; downloads 254 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc download_manager->GetAllDownloads(&downloads); downloads 255 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc ASSERT_EQ(0u, downloads.size()); downloads 295 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc std::vector<DownloadItem*> downloads; downloads 296 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc download_manager->GetAllDownloads(&downloads); downloads 297 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc ASSERT_EQ(0u, downloads.size()); downloads 326 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc DownloadManager::DownloadVector downloads; downloads 327 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc download_manager->GetAllDownloads(&downloads); downloads 328 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc ASSERT_EQ(1u, downloads.size()); downloads 331 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc DeleteDownloadAndWaitForFlush(downloads[0], download_manager); downloads 378 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc std::vector<DownloadItem*> downloads; downloads 379 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc download_manager->GetAllDownloads(&downloads); downloads 380 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc ASSERT_EQ(1u, downloads.size()); downloads 383 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc DeleteDownloadAndWaitForFlush(downloads[0], download_manager); downloads 415 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc std::vector<DownloadItem*> downloads; downloads 416 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc download_manager->GetAllDownloads(&downloads); downloads 417 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc ASSERT_EQ(0u, downloads.size()); downloads 225 chrome/browser/history/history_unittest.cc std::vector<DownloadRow> downloads; downloads 226 chrome/browser/history/history_unittest.cc db_->QueryDownloads(&downloads); downloads 227 chrome/browser/history/history_unittest.cc EXPECT_EQ(0U, downloads.size()); downloads 234 chrome/browser/history/history_unittest.cc db_->QueryDownloads(&downloads); downloads 235 chrome/browser/history/history_unittest.cc EXPECT_EQ(1U, downloads.size()); downloads 238 chrome/browser/history/history_unittest.cc downloads[0].current_path); downloads 240 chrome/browser/history/history_unittest.cc downloads[0].target_path); downloads 241 chrome/browser/history/history_unittest.cc EXPECT_EQ(1UL, downloads[0].url_chain.size()); downloads 242 chrome/browser/history/history_unittest.cc EXPECT_EQ(GURL("foo-url"), downloads[0].url_chain[0]); downloads 244 chrome/browser/history/history_unittest.cc std::string(downloads[0].referrer_url.spec())); downloads 245 chrome/browser/history/history_unittest.cc EXPECT_EQ(now, downloads[0].start_time); downloads 246 chrome/browser/history/history_unittest.cc EXPECT_EQ(now, downloads[0].end_time); downloads 247 chrome/browser/history/history_unittest.cc EXPECT_EQ(0, downloads[0].received_bytes); downloads 248 chrome/browser/history/history_unittest.cc EXPECT_EQ(512, downloads[0].total_bytes); downloads 249 chrome/browser/history/history_unittest.cc EXPECT_EQ(DownloadItem::COMPLETE, downloads[0].state); downloads 251 chrome/browser/history/history_unittest.cc downloads[0].danger_type); downloads 253 chrome/browser/history/history_unittest.cc downloads[0].interrupt_reason); downloads 254 chrome/browser/history/history_unittest.cc EXPECT_FALSE(downloads[0].opened); downloads 255 chrome/browser/history/history_unittest.cc EXPECT_EQ("by_ext_id", downloads[0].by_ext_id); downloads 256 chrome/browser/history/history_unittest.cc EXPECT_EQ("by_ext_name", downloads[0].by_ext_name); downloads 258 chrome/browser/history/history_unittest.cc db_->QueryDownloads(&downloads); downloads 259 chrome/browser/history/history_unittest.cc EXPECT_EQ(1U, downloads.size()); downloads 261 chrome/browser/history/history_unittest.cc db_->QueryDownloads(&downloads); downloads 262 chrome/browser/history/history_unittest.cc EXPECT_EQ(0U, downloads.size()); downloads 706 chrome/browser/history/history_unittest.cc std::vector<DownloadRow> downloads; downloads 707 chrome/browser/history/history_unittest.cc db_->QueryDownloads(&downloads); downloads 708 chrome/browser/history/history_unittest.cc EXPECT_EQ(0U, downloads.size()); downloads 781 chrome/browser/net/chrome_network_delegate.cc const base::FilePath downloads = profile_path_.AppendASCII("Downloads"); downloads 782 chrome/browser/net/chrome_network_delegate.cc if (downloads == path.StripTrailingSeparators() || downloads.IsParent(path)) downloads 50 chrome/browser/ui/browser_close_browsertest.cc int downloads; downloads 54 chrome/browser/ui/browser_close_browsertest.cc int downloads; downloads 61 chrome/browser/ui/browser_close_browsertest.cc int downloads; downloads 65 chrome/browser/ui/browser_close_browsertest.cc int downloads; downloads 311 chrome/browser/ui/browser_close_browsertest.cc browser_a_regular, check_case.profile_a.regular.downloads); downloads 313 chrome/browser/ui/browser_close_browsertest.cc browser_a_incognito, check_case.profile_a.incognito.downloads); downloads 315 chrome/browser/ui/browser_close_browsertest.cc browser_b_regular, check_case.profile_b.regular.downloads); downloads 317 chrome/browser/ui/browser_close_browsertest.cc browser_b_incognito, check_case.profile_b.incognito.downloads); downloads 475 chrome/browser/ui/browser_close_browsertest.cc if (profile_a.regular.windows || profile_a.regular.downloads) downloads 478 chrome/browser/ui/browser_close_browsertest.cc profile_a.regular.downloads); downloads 479 chrome/browser/ui/browser_close_browsertest.cc if (profile_a.incognito.windows || profile_a.incognito.downloads) downloads 482 chrome/browser/ui/browser_close_browsertest.cc profile_a.incognito.downloads); downloads 483 chrome/browser/ui/browser_close_browsertest.cc if (profile_b.regular.windows || profile_b.regular.downloads) downloads 486 chrome/browser/ui/browser_close_browsertest.cc profile_b.regular.downloads); downloads 487 chrome/browser/ui/browser_close_browsertest.cc if (profile_b.incognito.windows || profile_b.incognito.downloads) downloads 490 chrome/browser/ui/browser_close_browsertest.cc profile_b.incognito.downloads); downloads 32 chrome/browser/ui/cocoa/dock_icon.h - (void)setDownloads:(int)downloads; downloads 577 chrome/browser/ui/webui/downloads_dom_handler.cc void DownloadsDOMHandler::CallDownloadsList(const base::ListValue& downloads) { downloads 578 chrome/browser/ui/webui/downloads_dom_handler.cc web_ui()->CallJavascriptFunction("downloadsList", downloads); downloads 99 chrome/browser/ui/webui/downloads_dom_handler.h virtual void CallDownloadsList(const base::ListValue& downloads); downloads 88 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc virtual void CallDownloadsList(const base::ListValue& downloads) OVERRIDE { downloads 89 chrome/browser/ui/webui/downloads_dom_handler_browsertest.cc downloads_list_.reset(downloads.DeepCopy()); downloads 630 content/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 631 content/browser/download/download_browsertest.cc DownloadManagerForShell(shell())->GetAllDownloads(&downloads); downloads 632 content/browser/download/download_browsertest.cc EXPECT_EQ(1u, downloads.size()); downloads 633 content/browser/download/download_browsertest.cc if (1u != downloads.size()) downloads 635 content/browser/download/download_browsertest.cc return downloads[0]; downloads 714 content/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 715 content/browser/download/download_browsertest.cc DownloadManagerForShell(shell())->GetAllDownloads(&downloads); downloads 716 content/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 717 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, downloads[0]->GetState()); downloads 720 content/browser/download/download_browsertest.cc downloads[0]->Cancel(true); downloads 741 content/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 742 content/browser/download/download_browsertest.cc DownloadManagerForShell(shell())->GetAllDownloads(&downloads); downloads 743 content/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 744 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::IN_PROGRESS, downloads[0]->GetState()); downloads 745 content/browser/download/download_browsertest.cc DownloadItem* download1 = downloads[0]; // The only download. downloads 754 content/browser/download/download_browsertest.cc downloads.clear(); downloads 755 content/browser/download/download_browsertest.cc DownloadManagerForShell(shell())->GetAllDownloads(&downloads); downloads 756 content/browser/download/download_browsertest.cc ASSERT_EQ(2u, downloads.size()); downloads 758 content/browser/download/download_browsertest.cc DownloadItem* download2 = downloads[(download1 == downloads[0]) ? 1 : 0]; downloads 1645 content/browser/download/download_browsertest.cc std::vector<DownloadItem*> downloads; downloads 1646 content/browser/download/download_browsertest.cc DownloadManagerForShell(shell())->GetAllDownloads(&downloads); downloads 1647 content/browser/download/download_browsertest.cc ASSERT_EQ(1u, downloads.size()); downloads 1648 content/browser/download/download_browsertest.cc ASSERT_EQ(DownloadItem::COMPLETE, downloads[0]->GetState()); downloads 690 content/browser/download/download_manager_impl.cc void DownloadManagerImpl::GetAllDownloads(DownloadVector* downloads) { downloads 693 content/browser/download/download_manager_impl.cc downloads->push_back(it->second); downloads 102 content/public/browser/download_manager.h virtual void GetAllDownloads(DownloadVector* downloads) = 0; downloads 86 content/public/test/download_test_observer.cc std::vector<DownloadItem*> downloads; downloads 87 content/public/test/download_test_observer.cc download_manager_->GetAllDownloads(&downloads); downloads 88 content/public/test/download_test_observer.cc for (std::vector<DownloadItem*>::iterator it = downloads.begin(); downloads 89 content/public/test/download_test_observer.cc it != downloads.end(); ++it) { downloads 360 content/public/test/download_test_observer.cc std::vector<DownloadItem*> downloads; downloads 361 content/public/test/download_test_observer.cc download_manager_->GetAllDownloads(&downloads); downloads 362 content/public/test/download_test_observer.cc for (std::vector<DownloadItem*>::iterator it = downloads.begin(); downloads 363 content/public/test/download_test_observer.cc it != downloads.end(); ++it) { downloads 75 content/public/test/mock_download_manager.h MOCK_METHOD1(GetAllDownloads, void(DownloadVector* downloads));