Home
last modified time | relevance | path

Searched refs:IsPaused (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/download/
Ddownload_shelf_context_menu.cc134 return download_item_->IsPaused(); in IsCommandIdChecked()
187 !download_item_->IsPaused()) { in ExecuteCommand()
253 !download_item_->IsPaused()) in GetLabelForCommandId()
Ddownload_query.cc169 static bool IsPaused(const DownloadItem& item) { in IsPaused() function
170 return item.IsPaused(); in IsPaused()
284 return AddFilter(BuildFilter<bool>(value, EQ, &IsPaused)); in AddFilter()
420 sorters_.push_back(Sorter::Build<bool>(direction, &IsPaused)); in AddSorter()
Ddownload_item_model_unittest.cc86 ON_CALL(item_, IsPaused()).WillByDefault(Return(false)); in SetupDownloadItemDefaults()
352 EXPECT_CALL(item(), IsPaused()) in TEST_F()
Ddownload_item_model.cc338 if (download_->IsPaused()) { in GetTabProgressStatusText()
641 bool time_remaining_known = (!download_->IsPaused() && in GetInProgressStatusString()
655 if (download_->IsPaused()) { in GetInProgressStatusString()
Ddownload_query_unittest.cc400 EXPECT_CALL(mock(0), IsPaused()).WillRepeatedly(Return(true)); in TEST_F()
401 EXPECT_CALL(mock(1), IsPaused()).WillRepeatedly(Return(false)); in TEST_F()
408 EXPECT_CALL(mock(0), IsPaused()).WillRepeatedly(Return(true)); in TEST_F()
409 EXPECT_CALL(mock(1), IsPaused()).WillRepeatedly(Return(false)); in TEST_F()
Ddownload_browsertest.cc3069 EXPECT_FALSE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
3072 EXPECT_TRUE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
3074 EXPECT_FALSE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/public/test/
Dmock_download_item.h49 MOCK_CONST_METHOD0(IsPaused, bool());
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_item_cell_unittest.mm59 ON_CALL(item, IsPaused()).WillByDefault(Return(false));
Ddownload_item_cell.mm247 if (downloadModel->download()->IsPaused()) {
/external/chromium_org/chrome/browser/extensions/api/downloads/
Ddownloads_api_browsertest.cc869 EXPECT_TRUE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
880 EXPECT_TRUE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
885 EXPECT_FALSE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
890 EXPECT_FALSE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
895 EXPECT_TRUE(download_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
1427 EXPECT_TRUE(on_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
1429 EXPECT_TRUE(on_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
1431 EXPECT_FALSE(on_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
1433 EXPECT_FALSE(on_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
1435 EXPECT_TRUE(on_item->IsPaused()); in IN_PROC_BROWSER_TEST_F()
[all …]
Ddownloads_api.cc256 json->SetBoolean(kPausedKey, download_item->IsPaused()); in DownloadItemToJSON()
1181 Fault(download_item->IsPaused() && !download_item->CanResume(), in RunSync()
/external/chromium_org/content/public/browser/
Ddownload_item.h165 virtual bool IsPaused() const = 0;
/external/chromium_org/content/browser/download/
Ddownload_item_impl.cc492 bool DownloadItemImpl::IsPaused() const { in IsPaused() function in content::DownloadItemImpl
501 if ((GetState() == IN_PROGRESS) && IsPaused()) in CanResume()
846 IsPaused() ? 'T' : 'F', in DebugString()
Ddownload_item_impl.h108 virtual bool IsPaused() const OVERRIDE;
Ddownload_manager_impl_unittest.cc153 MOCK_CONST_METHOD0(IsPaused, bool());
Ddownload_item_impl_unittest.cc651 ASSERT_TRUE(item->IsPaused()); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/
Ddownloads_dom_handler.cc191 } else if (download_item->IsPaused()) { in CreateDownloadItemValue()
/external/chromium_org/chrome/browser/ui/views/download/
Ddownload_item_view.cc288 download()->IsPaused() ? in OnDownloadUpdated()