Searched refs:downloader (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/updater/
H A Dchrome_extension_downloader_factory.cc27 scoped_ptr<ExtensionDownloader> downloader(
33 downloader->set_brand_code(brand);
35 downloader->set_manifest_query_params(
37 downloader->set_ping_enabled_domain("google.com");
38 downloader->set_enable_extra_update_metrics(
40 return downloader.Pass();
51 scoped_ptr<ExtensionDownloader> downloader = local
53 downloader->SetWebstoreIdentityProvider(identity_provider.Pass());
54 return downloader.Pass();
H A Dextension_updater_unittest.cc377 scoped_ptr<ExtensionDownloader> downloader(
379 downloader->SetWebstoreIdentityProvider(
381 return downloader.Pass();
633 void StartUpdateCheck(ExtensionDownloader* downloader, argument
635 downloader->StartUpdateCheck(scoped_ptr<ManifestFetchData>(fetch_data));
638 size_t ManifestFetchersCount(ExtensionDownloader* downloader) { argument
639 return downloader->manifests_queue_.size() +
640 (downloader->manifest_fetcher_.get() ? 1 : 0);
758 ExtensionDownloader downloader(&delegate, service.request_context());
767 downloader
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dfavicon_downloader_unittest.cc103 TestFaviconDownloader downloader(web_contents(), std::vector<GURL>());
108 downloader.set_initial_favicon_urls(favicon_urls);
109 EXPECT_EQ(0u, downloader.pending_requests());
111 downloader.Start();
112 EXPECT_EQ(1u, downloader.pending_requests());
115 downloader.CompleteImageDownload(0, favicon_urls[0].icon_url, sizes);
116 EXPECT_EQ(0u, downloader.pending_requests());
118 EXPECT_EQ(1u, downloader.favicon_map().size());
119 EXPECT_EQ(1u, downloader.favicon_map()[favicon_url].size());
124 TestFaviconDownloader downloader(web_content
[all...]
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_downloader_delegate.h46 // query the downloader for the picture and full name.
47 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) = 0;
51 ProfileDownloader* downloader,
H A Dgaia_info_update_service.h40 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) OVERRIDE;
42 ProfileDownloader* downloader,
H A Dgaia_info_update_service.cc96 ProfileDownloader* downloader) {
107 base::string16 full_name = downloader->GetProfileFullName();
108 base::string16 given_name = downloader->GetProfileGivenName();
109 SkBitmap bitmap = downloader->GetProfilePicture();
111 downloader->GetProfilePictureStatus();
112 std::string picture_url = downloader->GetProfilePictureURL();
141 ProfileDownloader* downloader,
95 OnProfileDownloadSuccess( ProfileDownloader* downloader) argument
140 OnProfileDownloadFailure( ProfileDownloader* downloader, ProfileDownloaderDelegate::FailureReason reason) argument
H A Dgaia_info_update_service_unittest.cc71 NiceMock<ProfileDownloaderMock>* downloader() { return downloader_.get(); } function in class:__anon4514::GAIAInfoUpdateServiceTest
107 EXPECT_CALL(*downloader(), GetProfileFullName()).
109 EXPECT_CALL(*downloader(), GetProfileGivenName()).
112 EXPECT_CALL(*downloader(), GetProfilePicture()).WillOnce(Return(*bmp));
113 EXPECT_CALL(*downloader(), GetProfilePictureStatus()).
115 EXPECT_CALL(*downloader(), GetProfilePictureURL()).WillOnce(Return(url));
117 service()->OnProfileDownloadSuccess(downloader());
182 service()->OnProfileDownloadFailure(downloader(),
/external/chromium_org/third_party/skia/gm/rebaseline_server/
H A Ddownload_actuals_test.py37 downloader = download_actuals.Download(
42 downloader.fetch(
H A Ddownload_actuals.py147 downloader = Download(actuals_base_url=params.actuals_base_url)
148 downloader.fetch(builder_name=params.builder,
/external/skia/gm/rebaseline_server/
H A Ddownload_actuals_test.py38 downloader = download_actuals.Download(
43 downloader.fetch(
H A Ddownload_actuals.py145 downloader = Download(actuals_base_url=params.actuals_base_url)
146 downloader.fetch(builder_name=params.builder,
/external/chromium_org/chrome/browser/supervised_user/
H A Dcustodian_profile_downloader_service.h38 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) OVERRIDE;
40 ProfileDownloader* downloader,
H A Dcustodian_profile_downloader_service.cc65 ProfileDownloader* downloader) {
66 download_callback_.Run(downloader->GetProfileFullName());
72 ProfileDownloader* downloader,
64 OnProfileDownloadSuccess( ProfileDownloader* downloader) argument
71 OnProfileDownloadFailure( ProfileDownloader* downloader, ProfileDownloaderDelegate::FailureReason reason) argument
/external/chromium_org/sync/internal_api/attachments/
H A Dfake_attachment_downloader_unittest.cc23 AttachmentDownloader* downloader() { function in class:syncer::FakeAttachmentDownloaderTest
54 downloader()->DownloadAttachment(attachment_id, download_callback());
H A Dattachment_downloader_impl_unittest.cc146 AttachmentDownloader* downloader() { return attachment_downloader_.get(); } function in class:syncer::AttachmentDownloaderImplTest
258 downloader()->DownloadAttachment(id1, download_callback(id1));
273 downloader()->DownloadAttachment(id1, download_callback(id1));
274 downloader()->DownloadAttachment(id1, download_callback(id1));
281 downloader()->DownloadAttachment(id1, download_callback(id1));
289 downloader()->DownloadAttachment(id1, download_callback(id1));
308 downloader()->DownloadAttachment(id1, download_callback(id1));
315 downloader()->DownloadAttachment(id2, download_callback(id2));
330 downloader()->DownloadAttachment(id1, download_callback(id1));
345 downloader()
[all...]
H A Dattachment_service_impl_unittest.cc180 scoped_ptr<MockAttachmentDownloader> downloader,
189 if (downloader.get()) {
190 attachment_downloader_ = downloader->AsWeakPtr();
195 downloader.PassAs<AttachmentDownloader>(),
249 MockAttachmentDownloader* downloader() { function in class:syncer::AttachmentServiceImplTest
324 EXPECT_EQ(2U, downloader()->download_requests.size());
326 // Make downloader return attachment 1.
327 downloader()->RespondToDownload(attachment_ids[1],
333 // Make downloader fail attachment 2.
334 downloader()
178 InitializeAttachmentService( scoped_ptr<MockAttachmentUploader> uploader, scoped_ptr<MockAttachmentDownloader> downloader, AttachmentService::Delegate* delegate) argument
[all...]
/external/chromium_org/chrome/browser/android/profiles/
H A Dprofile_downloader_android.cc61 ProfileDownloader* downloader) OVERRIDE {
64 downloader->GetProfileFullName(),
65 downloader->GetProfilePicture());
70 ProfileDownloader* downloader,
76 // The profile image downloader instance.
/external/chromium_org/ui/base/dragdrop/
H A Dos_exchange_data.cc14 DownloadFileProvider* downloader)
16 downloader(downloader) {
12 DownloadFileInfo( const base::FilePath& filename, DownloadFileProvider* downloader) argument
H A Dos_exchange_data.h78 DownloadFileProvider* downloader);
82 scoped_refptr<DownloadFileProvider> downloader; member in struct:ui::OSExchangeData::DownloadFileInfo
H A Dos_exchange_data_provider_win.h100 scoped_refptr<DownloadFileProvider> downloader; member in struct:ui::DataObjectImpl::StoredDataInfo
110 if (downloader.get())
111 downloader->Stop();
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
H A Duser_image_manager_impl.h92 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) OVERRIDE;
94 ProfileDownloader* downloader,
H A Duser_image_manager_impl.cc759 ProfileDownloader* downloader) {
763 DCHECK_EQ(downloader, profile_downloader.get());
768 downloader->GetProfileFullName(),
769 downloader->GetProfileGivenName(),
770 downloader->GetProfileLocale()));
775 switch (downloader->GetProfilePictureStatus()) {
816 downloader->GetProfilePicture());
817 profile_image_url_ = GURL(downloader->GetProfilePictureURL());
836 ProfileDownloader* downloader,
838 DCHECK_EQ(downloader, profile_downloader
758 OnProfileDownloadSuccess( ProfileDownloader* downloader) argument
835 OnProfileDownloadFailure( ProfileDownloader* downloader, ProfileDownloaderDelegate::FailureReason reason) argument
[all...]
/external/chromium_org/components/component_updater/test/
H A Dcomponent_updater_ping_manager_unittest.cc140 download_metrics.downloader = CrxDownloader::DownloadMetrics::kUrlFetcher;
149 download_metrics.downloader = CrxDownloader::DownloadMetrics::kBits;
165 "<event eventtype=\"14\" eventresult=\"0\" downloader=\"direct\" "
168 "<event eventtype=\"14\" eventresult=\"1\" downloader=\"bits\" "
/external/chromium_org/components/component_updater/
H A Dcrx_downloader.h38 // that, the download request is routed to the next downloader in the chain.
49 Downloader downloader; member in struct:component_updater::CrxDownloader::DownloadMetrics
92 // background downloader be used, if the platform supports it.
H A Dcrx_downloader.cc23 : downloader(kNone),
30 // On Windows, the first downloader in the chain is a background downloader,
98 // If the urls are mutated while this downloader is active, then the
120 // If this downloader has received a 5xx error for the current url,
136 // If there is another downloader that can accept this request, then hand
138 // of urls. Otherwise, the request ends here since the current downloader
139 // has tried all urls and it can't fall back on any other downloader.

Completed in 1838 milliseconds

12