| Index: chrome/browser/media/webrtc_log_uploader.cc
|
| diff --git a/chrome/browser/media/webrtc_log_uploader.cc b/chrome/browser/media/webrtc_log_uploader.cc
|
| index 30d046d3e2a221778175f60a83815c2ae1afa75a..ef55b432cc5e50b969c34be7cb2bf80c0dc9c5ff 100644
|
| --- a/chrome/browser/media/webrtc_log_uploader.cc
|
| +++ b/chrome/browser/media/webrtc_log_uploader.cc
|
| @@ -501,9 +501,10 @@ void WebRtcLogUploader::AddLocallyStoredLogInfoToUploadListFile(
|
| }
|
| }
|
|
|
| - // Write the log ID to the log list file. Leave the upload time and report ID
|
| - // empty.
|
| - contents += ",," + local_log_id + '\n';
|
| + // Write the capture time and log ID to the log list file. Leave the upload
|
| + // time and report ID empty.
|
| + contents += ",," + local_log_id +
|
| + "," + base::DoubleToString(base::Time::Now().ToDoubleT()) + '\n';
|
|
|
| int written =
|
| base::WriteFile(upload_list_path, &contents[0], contents.size());
|
| @@ -541,7 +542,7 @@ void WebRtcLogUploader::AddUploadedLogInfoToUploadListFile(
|
| contents.insert(pos, time_now_str);
|
| contents.insert(pos + time_now_str.length() + 1, report_id);
|
| } else {
|
| - contents += time_now_str + "," + report_id + ",\n";
|
| + contents += time_now_str + "," + report_id + ",," + time_now_str + "\n";
|
| }
|
|
|
| int written =
|
|
|