Home
last modified time | relevance | path

Searched refs:downloader (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/
Dfavicon_downloader_unittest.cc106 TestFaviconDownloader downloader(web_contents(), std::vector<GURL>()); in TEST_F() local
111 downloader.set_initial_favicon_urls(favicon_urls); in TEST_F()
112 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
114 downloader.Start(); in TEST_F()
115 EXPECT_EQ(1u, downloader.pending_requests()); in TEST_F()
118 downloader.CompleteImageDownload(0, favicon_urls[0].icon_url, sizes); in TEST_F()
119 EXPECT_EQ(0u, downloader.pending_requests()); in TEST_F()
121 EXPECT_EQ(1u, downloader.favicon_map().size()); in TEST_F()
122 EXPECT_EQ(1u, downloader.favicon_map()[favicon_url].size()); in TEST_F()
127 TestFaviconDownloader downloader(web_contents(), std::vector<GURL>()); in TEST_F() local
[all …]
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_updater_unittest.cc572 ExtensionDownloader* downloader) { in ResetDownloader() argument
574 updater->downloader_.reset(downloader); in ResetDownloader()
577 void StartUpdateCheck(ExtensionDownloader* downloader, in StartUpdateCheck() argument
579 downloader->StartUpdateCheck(scoped_ptr<ManifestFetchData>(fetch_data)); in StartUpdateCheck()
582 size_t ManifestFetchersCount(ExtensionDownloader* downloader) { in ManifestFetchersCount() argument
583 return downloader->manifests_queue_.size() + in ManifestFetchersCount()
584 (downloader->manifest_fetcher_.get() ? 1 : 0); in ManifestFetchersCount()
695 ExtensionDownloader downloader(&delegate, service.request_context()); in TestUpdateUrlDataFromGallery() local
704 downloader.AddExtension(*extensions[0].get(), 0); in TestUpdateUrlDataFromGallery()
705 downloader.StartAllPending(NULL); in TestUpdateUrlDataFromGallery()
[all …]
/external/chromium_org/chrome/browser/profiles/
Dgaia_info_update_service.cc96 ProfileDownloader* downloader) { in OnProfileDownloadSuccess() argument
107 base::string16 full_name = downloader->GetProfileFullName(); in OnProfileDownloadSuccess()
108 base::string16 given_name = downloader->GetProfileGivenName(); in OnProfileDownloadSuccess()
109 SkBitmap bitmap = downloader->GetProfilePicture(); in OnProfileDownloadSuccess()
111 downloader->GetProfilePictureStatus(); in OnProfileDownloadSuccess()
112 std::string picture_url = downloader->GetProfilePictureURL(); in OnProfileDownloadSuccess()
138 ProfileDownloader* downloader, in OnProfileDownloadFailure() argument
Dgaia_info_update_service_unittest.cc73 NiceMock<ProfileDownloaderMock>* downloader() { return downloader_.get(); } in downloader() function in __anon165ae3e40111::GAIAInfoUpdateServiceTest
101 EXPECT_CALL(*downloader(), GetProfileFullName()).WillOnce(Return(name)); in TEST_F()
104 EXPECT_CALL(*downloader(), GetProfilePicture()).WillOnce(Return(*bmp)); in TEST_F()
105 EXPECT_CALL(*downloader(), GetProfilePictureStatus()). in TEST_F()
108 EXPECT_CALL(*downloader(), GetProfilePictureURL()).WillOnce(Return(url)); in TEST_F()
113 service()->OnProfileDownloadSuccess(downloader()); in TEST_F()
131 service()->OnProfileDownloadFailure(downloader(), in TEST_F()
Dprofile_downloader_delegate.h47 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) = 0;
51 ProfileDownloader* downloader,
Dgaia_info_update_service.h40 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) OVERRIDE;
42 ProfileDownloader* downloader,
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
Dretriever.cc41 const Downloader& downloader, in Helper() argument
45 downloader_(downloader), in Helper()
108 const Downloader* downloader, in Retriever() argument
111 downloader_(downloader), in Retriever()
Dondemand_supplier.cc34 const Downloader* downloader, in OndemandSupplier() argument
36 : retriever_(new Retriever(validation_data_url, downloader, storage)) { in OndemandSupplier()
/external/chromium_org/chrome/browser/supervised_user/
Dcustodian_profile_downloader_service.cc65 ProfileDownloader* downloader) { in OnProfileDownloadSuccess() argument
66 download_callback_.Run(downloader->GetProfileFullName()); in OnProfileDownloadSuccess()
72 ProfileDownloader* downloader, in OnProfileDownloadFailure() argument
Dcustodian_profile_downloader_service.h38 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) OVERRIDE;
40 ProfileDownloader* downloader,
/external/chromium_org/chrome/browser/android/profiles/
Dprofile_downloader_android.cc61 ProfileDownloader* downloader) OVERRIDE { in OnProfileDownloadSuccess() argument
64 downloader->GetProfileFullName(), in OnProfileDownloadSuccess()
65 downloader->GetProfilePicture()); in OnProfileDownloadSuccess()
70 ProfileDownloader* downloader, in OnProfileDownloadFailure() argument
/external/skia/gm/rebaseline_server/
Ddownload_actuals_test.py38 downloader = download_actuals.Download(
43 downloader.fetch(
Ddownload_actuals.py145 downloader = Download(actuals_base_url=params.actuals_base_url)
146 downloader.fetch(builder_name=params.builder,
/external/chromium_org/third_party/skia/gm/rebaseline_server/
Ddownload_actuals_test.py38 downloader = download_actuals.Download(
43 downloader.fetch(
Ddownload_actuals.py145 downloader = Download(actuals_base_url=params.actuals_base_url)
146 downloader.fetch(builder_name=params.builder,
/external/chromium_org/sync/internal_api/attachments/
Dattachment_downloader_impl_unittest.cc23 AttachmentDownloader* downloader() { in downloader() function in syncer::AttachmentDownloaderImplTest
54 downloader()->DownloadAttachment(attachment_id, download_callback()); in TEST_F()
Dfake_attachment_downloader_unittest.cc23 AttachmentDownloader* downloader() { in downloader() function in syncer::FakeAttachmentDownloaderTest
54 downloader()->DownloadAttachment(attachment_id, download_callback()); in TEST_F()
/external/chromium_org/ui/base/dragdrop/
Dos_exchange_data.cc14 DownloadFileProvider* downloader) in DownloadFileInfo() argument
16 downloader(downloader) { in DownloadFileInfo()
Dos_exchange_data_provider_win.h100 scoped_refptr<DownloadFileProvider> downloader; member
110 if (downloader.get()) in ~StoredDataInfo()
111 downloader->Stop(); in ~StoredDataInfo()
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
Duser_image_manager_impl.cc735 ProfileDownloader* downloader) { in OnProfileDownloadSuccess() argument
739 DCHECK_EQ(downloader, profile_downloader.get()); in OnProfileDownloadSuccess()
743 UserManager::UserAccountData(downloader->GetProfileFullName(), in OnProfileDownloadSuccess()
744 downloader->GetProfileGivenName(), in OnProfileDownloadSuccess()
745 downloader->GetProfileLocale())); in OnProfileDownloadSuccess()
750 switch (downloader->GetProfilePictureStatus()) { in OnProfileDownloadSuccess()
791 downloader->GetProfilePicture()); in OnProfileDownloadSuccess()
792 profile_image_url_ = GURL(downloader->GetProfilePictureURL()); in OnProfileDownloadSuccess()
811 ProfileDownloader* downloader, in OnProfileDownloadFailure() argument
813 DCHECK_EQ(downloader, profile_downloader_.get()); in OnProfileDownloadFailure()
Duser_image_manager_impl.h88 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) OVERRIDE;
90 ProfileDownloader* downloader,
/external/chromium_org/sync/api/attachments/
Dattachment_service_impl_unittest.cc165 MockAttachmentDownloader* downloader() { in downloader() function in syncer::AttachmentServiceImplTest
224 EXPECT_EQ(2U, downloader()->download_requests.size()); in TEST_F()
227 downloader()->RespondToDownload(attachment_ids[1], in TEST_F()
234 downloader()->RespondToDownload( in TEST_F()
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/
Daddress_validator.cc203 scoped_ptr<Downloader> downloader, in AddressValidatorImpl() argument
208 downloader.Pass(), in AddressValidatorImpl()
580 scoped_ptr<Downloader> downloader, in Build() argument
584 VALIDATION_DATA_URL, downloader.Pass(), storage.Pass(), in Build()
590 scoped_ptr<Downloader> downloader, in BuildAddressValidatorForTesting() argument
594 validation_data_url, downloader.Pass(), storage.Pass(), in BuildAddressValidatorForTesting()
/external/chromium_org/third_party/libaddressinput/chromium/
Dpreload_address_validator.cc37 scoped_ptr<Downloader> downloader, in PreloadAddressValidator() argument
42 downloader.release(), in PreloadAddressValidator()
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/
Daddress_validator_test.h33 scoped_ptr<Downloader> downloader,

12