Home
last modified time | relevance | path

Searched refs:compressed_log_data (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/components/metrics/
Dpersisted_logs.cc52 if (!GzipCompress(log_data, &compressed_log_data)) { in Init()
59 static_cast<int>(100 * compressed_log_data.size() / log_data.size())); in Init()
62 static_cast<int>((log_data.size() - compressed_log_data.size()) / 1024), in Init()
126 size_t log_size = list_[start - 1].compressed_log_data.length(); in WriteLogsToPrefList()
139 size_t log_size = list_[i].compressed_log_data.length(); in WriteLogsToPrefList()
145 AppendBase64String(list_[i].compressed_log_data, list_value); in WriteLogsToPrefList()
165 if (!ReadBase64String(list_value, i * 2, &list_[i].compressed_log_data) || in ReadLogsFromPrefList()
Dpersisted_logs.h79 return list_[staged_log_index_].compressed_log_data; in staged_log()
123 std::string compressed_log_data; member
Dpersisted_logs_unittest.cc27 std::string compressed_log_data; in Compress() local
28 EXPECT_TRUE(GzipCompress(log_data, &compressed_log_data)); in Compress()
29 return compressed_log_data; in Compress()
Dmetrics_log_uploader.h31 virtual bool UploadLog(const std::string& compressed_log_data,
/external/chromium_org/components/metrics/net/
Dnet_metrics_log_uploader.cc26 bool NetMetricsLogUploader::UploadLog(const std::string& compressed_log_data, in UploadLog() argument
31 current_fetch_->SetUploadData(mime_type_, compressed_log_data); in UploadLog()
Dnet_metrics_log_uploader.h36 virtual bool UploadLog(const std::string& compressed_log_data,