Searched refs:failure_reason_ (Results 1 – 2 of 2) sorted by relevance
64 bool HasFailed() const { return failure_reason_.has_value(); } in HasFailed()65 const std::string& GetFailureReason() { return *failure_reason_; } in GetFailureReason()67 void Fail(std::string reason) { failure_reason_ = {reason}; } in Fail()76 base::Optional<std::string> failure_reason_; variable
1029 failure_reason_ = proto::BackgroundFetchRegistration::FETCH_ERROR;