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

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

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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_crashpad.h" 5 #include "chrome/browser/crash_upload_list_crashpad.h"
6 6
7 #include <stddef.h>
8
7 #include "base/threading/sequenced_worker_pool.h" 9 #include "base/threading/sequenced_worker_pool.h"
8 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "build/build_config.h"
9 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
10 #include "components/crash/content/app/crashpad.h" 13 #include "components/crash/content/app/crashpad.h"
11 14
12 namespace { 15 namespace {
13 16
14 #if defined(OS_WIN) 17 #if defined(OS_WIN)
15 typedef void (*GetUploadedReportsPointer)( 18 typedef void (*GetUploadedReportsPointer)(
16 const crash_reporter::UploadedReport** reports, 19 const crash_reporter::UploadedReport** reports,
17 size_t* report_count); 20 size_t* report_count);
18 21
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 61
59 ClearUploads(); 62 ClearUploads();
60 for (const crash_reporter::UploadedReport& uploaded_report : 63 for (const crash_reporter::UploadedReport& uploaded_report :
61 uploaded_reports) { 64 uploaded_reports) {
62 AppendUploadInfo( 65 AppendUploadInfo(
63 UploadInfo(uploaded_report.remote_id, 66 UploadInfo(uploaded_report.remote_id,
64 base::Time::FromTimeT(uploaded_report.creation_time), 67 base::Time::FromTimeT(uploaded_report.creation_time),
65 uploaded_report.local_id, base::Time())); 68 uploaded_report.local_id, base::Time()));
66 } 69 }
67 } 70 }
OLDNEW
« no previous file with comments | « chrome/browser/crash_recovery_browsertest.cc ('k') | chrome/browser/custom_handlers/protocol_handler_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698