Searched refs:download_ (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/chrome/browser/download/
H A Ddownload_item_model.cc264 : download_(download) {}
269 if (download_->GetState() != DownloadItem::INTERRUPTED ||
270 download_->GetLastReason() ==
274 return InterruptReasonMessage(download_->GetLastReason());
279 switch (download_->GetState()) {
284 if (download_->GetFileExternallyRemoved()) {
294 content::DownloadInterruptReason reason = download_->GetLastReason();
314 int64 size = download_->GetReceivedBytes();
332 int64 current_speed = download_->CurrentSpeed();
338 if (download_
[all...]
H A Ddownload_target_determiner.cc95 download_(download),
96 is_resumption_(download_->GetLastReason() !=
104 DCHECK(download_);
106 download_->AddObserver(this);
113 DCHECK(download_);
115 download_->RemoveObserver(this);
178 bool is_forced_path = !download_->GetForcedFilePath().empty();
196 download_->GetURL(),
197 download_->GetContentDisposition(),
199 download_
[all...]
H A Ddownload_danger_prompt.cc58 content::DownloadItem* download_; member in class:__anon3577::DownloadDangerPromptImpl
73 download_(download),
77 download_->AddObserver(this);
78 RecordOpenedDangerousConfirmDialog(download_->GetDangerType());
120 switch (download_->GetDangerType()) {
137 switch (download_->GetDangerType()) {
141 download_->GetFileNameToReportUser().LossyDisplayName());
148 download_->GetFileNameToReportUser().LossyDisplayName());
153 download_->GetFileNameToReportUser().LossyDisplayName());
158 download_
[all...]
H A Ddownload_danger_prompt_browsertest.cc62 testing::Mock::VerifyAndClearExpectations(&download_);
69 content::MockDownloadItem& download() { return download_; }
75 EXPECT_CALL(download_, GetFileNameToReportUser()).WillRepeatedly(Return(
77 EXPECT_CALL(download_, GetDangerType())
83 &download_,
97 content::MockDownloadItem download_; member in class:DownloadDangerPromptTest
H A Ddownload_item_model.h155 content::DownloadItem* download() { return download_; }
171 content::DownloadItem* download_; member in class:DownloadItemModel
H A Ddownload_target_determiner.h314 content::DownloadItem* download_; member in class:DownloadTargetDeterminer
/external/chromium_org/chrome/browser/ui/views/download/
H A Ddownload_danger_prompt_views.cc71 content::DownloadItem* download_; member in class:__anon5242::DownloadDangerPromptViews
84 : download_(item),
89 download_->AddObserver(this);
124 RecordOpenedDangerousConfirmDialog(download_->GetDangerType());
230 if (!download_->IsDangerous() || download_->IsDone()) {
239 switch (download_->GetDangerType()) {
253 switch (download_->GetDangerType()) {
266 switch (download_->GetDangerType()) {
283 switch (download_
[all...]
/external/chromium_org/content/browser/download/
H A Dsave_package.cc145 download_(NULL),
178 download_(NULL),
207 download_(NULL),
233 CHECK(!download_);
329 download_ = item;
330 download_->AddObserver(this);
333 download_created_callback.Run(download_);
356 download_->SetTotalBytes(1);
369 // Hack to avoid touching download_ after user cancel.
372 if (download_
[all...]
H A Ddownload_browsertest.cc397 : download_(download) {
400 download_->AddObserver(this);
419 DCHECK_EQ(download_, download);
430 DCHECK_EQ(download_, download);
435 if (download_) {
436 download_->RemoveObserver(this);
437 download_ = NULL;
441 DownloadItem* download_; member in class:content::__anon7074::RecordingDownloadObserver
H A Dsave_package.h273 DownloadItemImpl* download_; member in class:content::SavePackage
/external/chromium_org/chrome/browser/favicon/
H A Dfavicon_handler_unittest.cc88 download_.reset(NULL);
97 download_.reset(new Download(
105 bool HasDownload() const { return download_.get() != NULL; }
106 const GURL& GetImageUrl() const { return download_->image_url; }
108 download_->image_sizes = sizes; }
129 scoped_ptr<Download> download_; member in class:__anon4048::DownloadHandler
382 for (std::vector<int>::const_iterator i = download_->image_sizes.begin();
383 i != download_->image_sizes.end(); ++i) {
386 if (download_->max_image_size != 0 &&
387 downloaded_size > download_
[all...]

Completed in 210 milliseconds