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

/external/chromium_org/chrome/browser/safe_browsing/
H A Ddownload_feedback_service.cc98 download->GetReceivedBytes() / 1024);
99 if (download->GetReceivedBytes() > DownloadFeedback::kMaxUploadSize)
H A Ddownload_feedback_service_unittest.cc122 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(size));
205 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(1000));
247 EXPECT_CALL(item[i], GetReceivedBytes()).WillRepeatedly(Return(1000));
316 EXPECT_CALL(item[i], GetReceivedBytes()).WillRepeatedly(Return(1000));
H A Ddownload_protection_service_unittest.cc464 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
558 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
602 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
756 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
809 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
897 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
944 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
992 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
1037 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(100));
1068 EXPECT_EQ(item.GetReceivedBytes(), reques
[all...]
H A Ddownload_protection_service.cc686 request.set_length(item_->GetReceivedBytes());
/external/chromium_org/chrome/browser/download/
H A Ddownload_query.cc157 static int GetReceivedBytes(const DownloadItem& item) { function in namespace:__anon3588
158 return item.GetReceivedBytes();
272 return AddFilter(BuildFilter<int>(value, EQ, &GetReceivedBytes));
426 sorters_.push_back(Sorter::Build<int>(direction, &GetReceivedBytes));
H A Ddownload_status_updater.cc79 received_bytes += (*it)->GetReceivedBytes();
H A Ddownload_query_unittest.cc325 EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0));
326 EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(1));
333 EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0));
334 EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(1));
575 EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0));
576 EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(0));
587 EXPECT_CALL(mock(0), GetReceivedBytes()).WillRepeatedly(Return(0));
588 EXPECT_CALL(mock(1), GetReceivedBytes()).WillRepeatedly(Return(0));
H A Ddownload_item_model_unittest.cc68 ON_CALL(item_, GetReceivedBytes()).WillByDefault(Return(1));
290 int64 received_bytes; // Return value of GetReceivedBytes().
303 // For GetReceivedBytes()/GetTotalBytes(), we only check whether each is
342 EXPECT_CALL(item(), GetReceivedBytes())
H A Ddownload_history_unittest.cc441 EXPECT_CALL(item(index), GetReceivedBytes())
642 EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(101));
724 EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(4200));
736 EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(100));
831 EXPECT_CALL(item(0), GetReceivedBytes()).WillRepeatedly(Return(100));
H A Ddownload_item_model.cc314 int64 size = download_->GetReceivedBytes();
426 return download_->GetReceivedBytes();
430 return download_->AllDataSaved() ? download_->GetReceivedBytes() :
H A Ddownload_status_updater_unittest.cc142 EXPECT_CALL(*item, GetReceivedBytes())
H A Ddownload_ui_controller_unittest.cc223 EXPECT_CALL(*item, GetReceivedBytes()).WillRepeatedly(Return(0));
H A Ddownload_history.cc137 item->GetReceivedBytes(),
/external/chromium_org/content/public/test/
H A Dmock_download_item.h86 MOCK_CONST_METHOD0(GetReceivedBytes, int64());
/external/chromium_org/content/browser/android/
H A Ddownload_controller_android_impl.cc286 jfilename.obj(), jpath.obj(), item->GetReceivedBytes(), true,
299 jfilename.obj(), jpath.obj(), item->GetReceivedBytes(), true,
311 jfilename.obj(), jpath.obj(), item->GetReceivedBytes(), false,
/external/chromium_org/content/public/browser/
H A Ddownload_item.h279 virtual int64 GetReceivedBytes() const = 0;
/external/chromium_org/content/browser/download/
H A Ddownload_browsertest.cc399 last_state_.bytes_received = download->GetReceivedBytes();
421 int bytes = download->GetReceivedBytes();
496 return download->GetReceivedBytes() >= number_of_bytes;
510 *download_size = download->GetReceivedBytes();
703 ASSERT_EQ(size, download->GetReceivedBytes());
726 EXPECT_EQ(received_bytes, download->GetReceivedBytes());
1099 ASSERT_EQ(GetSafeBufferChunk(), download->GetReceivedBytes());
1140 ASSERT_EQ(GetSafeBufferChunk() * 3, download->GetReceivedBytes());
1143 ASSERT_EQ(GetSafeBufferChunk() * 3, download->GetReceivedBytes());
1371 EXPECT_EQ(0, download->GetReceivedBytes());
[all...]
H A Ddownload_net_log_parameters.cc60 base::Int64ToString(download_item->GetReceivedBytes()));
H A Ddownload_item_impl.h144 virtual int64 GetReceivedBytes() const OVERRIDE;
H A Ddownload_item_impl.cc724 int64 DownloadItemImpl::GetReceivedBytes() const { function in class:content::DownloadItemImpl
844 GetReceivedBytes(),
1716 download_params->set_offset(GetReceivedBytes());
H A Ddownload_item_impl_unittest.cc909 EXPECT_EQ(0l, item->GetReceivedBytes());
918 EXPECT_EQ(10l, item->GetReceivedBytes());
925 EXPECT_EQ(200l, item->GetReceivedBytes());
H A Ddownload_manager_impl_unittest.cc146 MOCK_CONST_METHOD0(GetReceivedBytes, int64());
/external/chromium_org/chrome/browser/ui/webui/
H A Ddownloads_dom_handler.cc202 static_cast<int>(download_item->GetReceivedBytes()));
214 static_cast<int>(download_item->GetReceivedBytes()));
/external/chromium_org/chrome/browser/extensions/
H A Dwebstore_installer.cc730 download->GetReceivedBytes() / 1024,
/external/chromium_org/chrome/browser/extensions/api/downloads/
H A Ddownloads_api.cc259 json->SetDouble(kBytesReceivedKey, download_item->GetReceivedBytes());

Completed in 990 milliseconds