Fix crash for CHECK
Headers are not yet populated so this CHECK is going to fail. Remove it until the rest of the changes land. Bug: b:343737170 Change-Id: Ia079dfcd581479a6bae19c0b6a14a7ffc897e191 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858815 Reviewed-by: Yongshun Liu <yongshun@chromium.org> Commit-Queue: Yongshun Liu <yongshun@chromium.org> Commit-Queue: Sean Kau <skau@chromium.org> Auto-Submit: Sean Kau <skau@chromium.org> Cr-Commit-Position: refs/heads/main@{#1354926}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
c73d55dc15
commit
097ac882ad
@ -282,7 +282,8 @@ HttpRequestMethod SignedRequest::GetRequestType() const {
|
||||
}
|
||||
|
||||
std::vector<std::string> SignedRequest::GetExtraRequestHeaders() const {
|
||||
CHECK(!headers_.empty());
|
||||
// TODO(b/343737170): CHECK that headers are non-empty when we can guarntee
|
||||
// that the headers are always present.
|
||||
return headers_;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user