Home | History | Annotate | Download | only in domain_reliability

Lines Matching full:fetcher

62     net::URLFetcher* fetcher =
64 fetcher->SetRequestContext(url_request_context_getter_);
65 fetcher->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES |
67 fetcher->SetUploadData(kJsonMimeType, report_json);
68 fetcher->SetAutomaticallyRetryOn5xx(false);
69 fetcher->SetURLRequestUserData(
72 fetcher->Start();
74 upload_callbacks_[fetcher] = callback;
79 const net::URLFetcher* fetcher) OVERRIDE {
80 DCHECK(fetcher);
82 UploadCallbackMap::iterator callback_it = upload_callbacks_.find(fetcher);
85 VLOG(1) << "Upload finished with " << fetcher->GetResponseCode();
88 fetcher->GetResponseCode());
90 bool success = fetcher->GetResponseCode() == 200;