Searched refs:IsRedirect (Results 1 – 14 of 14) sorted by relevance
17 bool IsRedirect(int32_t status) { in IsRedirect() function46 if (IsRedirect(data_.status_code)) in GetProperty()50 if (IsRedirect(data_.status_code)) in GetProperty()
46 bool IsRedirect(int32_t status) { return status >= 300 && status <= 399; } in IsRedirect() function79 if (IsRedirect(data.status_code)) { in DataFromWebURLResponse()
80 if (!response->headers->IsRedirect(&location)) in SanitizeProxyRedirect()
55 if (response_headers.IsRedirect(&location)) { in Init()
198 bool IsRedirect(std::string* location) const;
1135 TEST_P(IsRedirectTest, IsRedirect) { in TEST_P() argument1144 EXPECT_EQ(parsed->IsRedirect(&location), test.is_redirect); in TEST_P()
810 EXPECT_TRUE(headers->IsRedirect(&location)); in TEST_P()
914 bool HttpResponseHeaders::IsRedirect(std::string* location) const { in IsRedirect() function in net::HttpResponseHeaders
976 EXPECT_TRUE(response->headers->IsRedirect(&url)); in TEST_P()6182 EXPECT_TRUE(response->headers->IsRedirect(&url)); in TEST_P()6267 EXPECT_TRUE(response->headers->IsRedirect(&url)); in TEST_P()
112 DCHECK(fake_headers_->IsRedirect(NULL)); in StartAsync()
272 if (!response_headers_->IsRedirect(&value)) in IsRedirectResponse()
1296 if (transaction_->GetResponseInfo()->headers->IsRedirect(NULL)) { in DoneReadingRedirectResponse()1305 DCHECK(override_response_headers_->IsRedirect(NULL)); in DoneReadingRedirectResponse()
152 if (!headers->IsRedirect(&value)) in IsRedirectResponse()
474 ASSERT_TRUE(headers->IsRedirect(&location)); in TEST_P()