Home
last modified time | relevance | path

Searched refs:report_json (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/components/domain_reliability/
Duploader_unittest.cc68 std::string report_json = "{}"; in TEST_F() local
70 uploader_->UploadReport(report_json, upload_url, MakeUploadCallback(0)); in TEST_F()
74 EXPECT_EQ(report_json, fetcher->upload_data()); in TEST_F()
93 std::string report_json = "{}"; in TEST_F() local
95 uploader_->UploadReport(report_json, upload_url, MakeUploadCallback(0)); in TEST_F()
99 EXPECT_EQ(report_json, fetcher->upload_data()); in TEST_F()
118 std::string report_json = "{}"; in TEST_F() local
120 uploader_->UploadReport(report_json, upload_url, MakeUploadCallback(0)); in TEST_F()
Duploader.cc57 const std::string& report_json, in UploadReport() argument
61 VLOG(2) << "Report JSON: " << report_json; in UploadReport()
74 fetcher->SetUploadData(kJsonMimeType, report_json); in UploadReport()
Dtest_util.h42 typedef base::Callback<void(const std::string& report_json,
54 virtual void UploadReport(const std::string& report_json,
Dcontext_unittest.cc101 const std::string& report_json, in OnUploadRequest() argument
105 upload_report_ = report_json; in OnUploadRequest()
Dcontext.cc223 std::string report_json; in StartUpload() local
225 base::JSONWriter::Write(report_value.get(), &report_json); in StartUpload()
231 report_json, in StartUpload()
Duploader.h40 virtual void UploadReport(const std::string& report_json,
Dtest_util.cc97 void MockUploader::UploadReport(const std::string& report_json, in UploadReport() argument
100 callback_.Run(report_json, upload_url, callback); in UploadReport()