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.cc66 std::string report_json = "{}"; in TEST_F() local
68 uploader_->UploadReport(report_json, upload_url, MakeUploadCallback(0)); in TEST_F()
72 EXPECT_EQ(report_json, fetcher->upload_data()); in TEST_F()
91 std::string report_json = "{}"; in TEST_F() local
93 uploader_->UploadReport(report_json, upload_url, MakeUploadCallback(0)); in TEST_F()
97 EXPECT_EQ(report_json, fetcher->upload_data()); in TEST_F()
Duploader.cc56 const std::string& report_json, in UploadReport() argument
60 VLOG(2) << "Report JSON: " << report_json; in UploadReport()
67 fetcher->SetUploadData(kJsonMimeType, report_json); in UploadReport()
Dtest_util.h42 typedef base::Callback<void(const std::string& report_json,
52 virtual void UploadReport(const std::string& report_json,
Dcontext_unittest.cc99 const std::string& report_json, in OnUploadRequest() argument
103 upload_report_ = report_json; in OnUploadRequest()
Duploader.h40 virtual void UploadReport(const std::string& report_json,
Dcontext.cc233 std::string report_json; in StartUpload() local
235 base::JSONWriter::Write(report_value.get(), &report_json); in StartUpload()
241 report_json, in StartUpload()
Dtest_util.cc94 void MockUploader::UploadReport(const std::string& report_json, in UploadReport() argument
97 callback_.Run(report_json, upload_url, callback); in UploadReport()