Home
last modified time | relevance | path

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

/external/chromium_org/chrome/common/metrics/
Dmetrics_log_manager.cc15 MetricsLogManager::SerializedLog::SerializedLog() {} in SerializedLog() function in MetricsLogManager::SerializedLog
16 MetricsLogManager::SerializedLog::~SerializedLog() {} in ~SerializedLog()
18 bool MetricsLogManager::SerializedLog::IsEmpty() const { in IsEmpty()
22 void MetricsLogManager::SerializedLog::SwapLogText(std::string* log_text) { in SwapLogText()
30 void MetricsLogManager::SerializedLog::Clear() { in Clear()
35 void MetricsLogManager::SerializedLog::Swap( in Swap()
36 MetricsLogManager::SerializedLog* other) { in Swap()
64 SerializedLog compressed_log; in FinishCurrentLog()
74 std::vector<SerializedLog>* source_list = in StageNextLogForUpload()
140 void MetricsLogManager::StoreLog(SerializedLog* log, in StoreLog()
[all …]
Dmetrics_log_manager.h26 class SerializedLog {
28 SerializedLog();
29 ~SerializedLog();
45 void Swap(SerializedLog* other);
140 virtual void SerializeLogs(const std::vector<SerializedLog>& logs,
146 std::vector<SerializedLog>* logs) = 0;
168 void StoreLog(SerializedLog* log,
173 void CompressCurrentLog(SerializedLog* compressed_log);
191 SerializedLog staged_log_;
197 std::vector<SerializedLog> unsent_initial_logs_;
[all …]
Dmetrics_log_manager_unittest.cc21 const std::vector<MetricsLogManager::SerializedLog>& logs, in SerializeLogs()
28 std::vector<MetricsLogManager::SerializedLog>* logs) OVERRIDE { in DeserializeLogs()
39 std::vector<MetricsLogManager::SerializedLog> persisted_logs_[2];
144 std::vector<MetricsLogManager::SerializedLog> initial_logs; in TEST()
145 std::vector<MetricsLogManager::SerializedLog> ongoing_logs; in TEST()
156 MetricsLogManager::SerializedLog log; in TEST()
363 TEST(MetricsLogManagerTest, SerializedLog) { in TEST() argument
369 MetricsLogManager::SerializedLog log; in TEST()
392 MetricsLogManager::SerializedLog log2; in TEST()
/external/chromium_org/chrome/browser/metrics/
Dmetrics_log_serializer_unittest.cc17 MetricsLogManager::SerializedLog* log) { in SetLogText()
27 std::vector<MetricsLogManager::SerializedLog> local_list; in TEST()
44 std::vector<MetricsLogManager::SerializedLog> local_list(1); in TEST()
87 std::vector<MetricsLogManager::SerializedLog> local_list(log_count); in TEST()
93 std::vector<MetricsLogManager::SerializedLog> result_list; in TEST()
111 std::vector<MetricsLogManager::SerializedLog> local_list(log_count); in TEST()
125 std::vector<MetricsLogManager::SerializedLog> result_list; in TEST()
140 std::vector<MetricsLogManager::SerializedLog> local_list(kListLengthLimit); in TEST()
151 std::vector<MetricsLogManager::SerializedLog> result_list; in TEST()
164 std::vector<MetricsLogManager::SerializedLog> in TEST()
[all …]
Dmetrics_log_serializer.h44 const std::vector<MetricsLogManager::SerializedLog>& logs,
48 std::vector<MetricsLogManager::SerializedLog>* logs) OVERRIDE;
57 const std::vector<MetricsLogManager::SerializedLog>& local_list,
66 std::vector<MetricsLogManager::SerializedLog>* local_list);
Dmetrics_log_serializer.cc58 const std::vector<MetricsLogManager::SerializedLog>& logs, in SerializeLogs()
85 std::vector<MetricsLogManager::SerializedLog>* logs) { in DeserializeLogs()
102 const std::vector<MetricsLogManager::SerializedLog>& local_list, in WriteLogsToPrefList()
119 for (std::vector<MetricsLogManager::SerializedLog>::const_reverse_iterator in WriteLogsToPrefList()
139 for (std::vector<MetricsLogManager::SerializedLog>::const_iterator it = in WriteLogsToPrefList()
159 std::vector<MetricsLogManager::SerializedLog>* local_list) { in ReadLogsFromPrefList()