Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Side by Side Diff: chrome/browser/crash_upload_list_mac.cc

Issue 1405373002: Fix WebRTC log list errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/media/webrtc_log_uploader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/crash_upload_list_mac.h" 5 #include "chrome/browser/crash_upload_list_mac.h"
6 6
7 #include "base/threading/sequenced_worker_pool.h" 7 #include "base/threading/sequenced_worker_pool.h"
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "components/crash/content/app/crashpad_mac.h" 9 #include "components/crash/content/app/crashpad_mac.h"
10 10
(...skipping 10 matching lines...) Expand all
21 void CrashUploadListMac::LoadUploadList() { 21 void CrashUploadListMac::LoadUploadList() {
22 std::vector<crash_reporter::UploadedReport> uploaded_reports; 22 std::vector<crash_reporter::UploadedReport> uploaded_reports;
23 crash_reporter::GetUploadedReports(&uploaded_reports); 23 crash_reporter::GetUploadedReports(&uploaded_reports);
24 24
25 ClearUploads(); 25 ClearUploads();
26 for (const crash_reporter::UploadedReport& uploaded_report : 26 for (const crash_reporter::UploadedReport& uploaded_report :
27 uploaded_reports) { 27 uploaded_reports) {
28 AppendUploadInfo( 28 AppendUploadInfo(
29 UploadInfo(uploaded_report.remote_id, 29 UploadInfo(uploaded_report.remote_id,
30 base::Time::FromTimeT(uploaded_report.creation_time), 30 base::Time::FromTimeT(uploaded_report.creation_time),
31 uploaded_report.local_id)); 31 uploaded_report.local_id,
32 base::Time()));
32 } 33 }
33 } 34 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/webrtc_log_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698