Lines Matching defs:fetcher
365 MockHttpFetcher* fetcher = new MockHttpFetcher(http_response.data(),
369 fetcher->FailTransfer(fail_http_response_code);
375 brillo::make_unique_ptr(fetcher),
414 *out_post_data = fetcher->post_data();
427 MockHttpFetcher* fetcher = new MockHttpFetcher(http_response.data(),
434 brillo::make_unique_ptr(fetcher),
448 *out_post_data = fetcher->post_data();
699 MockHttpFetcher* fetcher =
702 &fake_system_state_, nullptr, brillo::make_unique_ptr(fetcher), false);
712 // Check that the headers were set in the fetcher during the action. Note that
714 EXPECT_EQ("fg", fetcher->GetHeader("X-GoogleUpdate-Interactivity"));
715 EXPECT_EQ(kTestAppId, fetcher->GetHeader("X-GoogleUpdate-AppId"));
716 EXPECT_NE("", fetcher->GetHeader("X-GoogleUpdate-Updater"));