Home
last modified time | relevance | path

Searched refs:pb_response (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dmalware_details_cache.cc152 ClientMalwareReportRequest::HTTPResponse* pb_response = in ReadResponse() local
154 pb_response->mutable_firstline()->set_code(headers->response_code()); in ReadResponse()
159 pb_response->add_headers(); in ReadResponse()
175 ClientMalwareReportRequest::HTTPResponse* pb_response = in ReadData() local
178 pb_response->set_body(data); in ReadData()
180 pb_response->set_bodylength(data.size()); in ReadData()
183 pb_response->set_bodydigest(MD5DigestToBase16(digest)); in ReadData()
Dmalware_details_unittest.cc521 safe_browsing::ClientMalwareReportRequest::HTTPResponse* pb_response = in TEST_F() local
523 pb_response->mutable_firstline()->set_code(200); in TEST_F()
525 pb_response->add_headers(); in TEST_F()
528 pb_header = pb_response->add_headers(); in TEST_F()
531 pb_header = pb_response->add_headers(); in TEST_F()
534 pb_response->set_body(kLandingData); in TEST_F()
535 pb_response->set_bodylength(37); in TEST_F()
536 pb_response->set_bodydigest("9ca97475598a79bc1e8fc9bd6c72cd35"); in TEST_F()
541 pb_response = pb_resource->mutable_response(); in TEST_F()
542 pb_response->mutable_firstline()->set_code(200); in TEST_F()
[all …]