Searched refs:ShouldCancel (Results 1 – 8 of 8) sorted by relevance
35 MOCK_METHOD1(ShouldCancel, bool(ErrorCode* cancel_reason));
56 virtual bool ShouldCancel(ErrorCode* cancel_reason) = 0;
40 bool ShouldCancel(ErrorCode* cancel_reason) override { return false; }; in ShouldCancel() function in chromeos_update_engine::FakeDownloadActionDelegate
165 EXPECT_CALL(mock_delegate_, ShouldCancel(_)) in SetUp()489 EXPECT_CALL(mock_delegate_, ShouldCancel(_)) in TEST_F()
468 if (download_delegate_ && download_delegate_->ShouldCancel(error)) in Write()
765 EXPECT_CALL(state->mock_delegate_, ShouldCancel(_)) in ApplyDeltaFile()
115 bool ShouldCancel(ErrorCode* cancel_reason) override;
798 bool UpdateAttempterAndroid::ShouldCancel(ErrorCode* cancel_reason) { in ShouldCancel() function in chromeos_update_engine::UpdateAttempterAndroid