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

Unified Diff: chromecast/crash/linux/dump_info.h

Issue 2203123003: [Chromecast] Remove usage of nonreentrant functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: slan@ comments Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/crash/linux/crash_util.cc ('k') | chromecast/crash/linux/dump_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/crash/linux/dump_info.h
diff --git a/chromecast/crash/linux/dump_info.h b/chromecast/crash/linux/dump_info.h
index f1572cd3729d3028cfa53b5524d30fa8a3a0dcc1..1be6676bc178ee4b3d20d62a0915acd23f65f8c2 100644
--- a/chromecast/crash/linux/dump_info.h
+++ b/chromecast/crash/linux/dump_info.h
@@ -5,11 +5,11 @@
#ifndef CHROMECAST_CRASH_LINUX_DUMP_INFO_H_
#define CHROMECAST_CRASH_LINUX_DUMP_INFO_H_
-#include <ctime>
#include <memory>
#include <string>
#include "base/macros.h"
+#include "base/time/time.h"
#include "chromecast/crash/linux/minidump_params.h"
namespace base {
@@ -34,7 +34,7 @@ class DumpInfo {
// -params: a structure containing other useful crash information
DumpInfo(const std::string& crashed_process_dump,
const std::string& crashed_process_logfile,
- const time_t& dump_time,
+ const base::Time& dump_time,
const MinidumpParams& params);
~DumpInfo();
@@ -43,7 +43,7 @@ class DumpInfo {
return crashed_process_dump_;
}
const std::string& logfile() const { return logfile_; }
- const time_t& dump_time() const { return dump_time_; }
+ const base::Time& dump_time() const { return dump_time_; }
// Return a deep copy of the entry's JSON representation.
// The format is:
@@ -73,7 +73,7 @@ class DumpInfo {
std::string crashed_process_dump_;
std::string logfile_;
- time_t dump_time_;
+ base::Time dump_time_;
MinidumpParams params_;
bool valid_;
« no previous file with comments | « chromecast/crash/linux/crash_util.cc ('k') | chromecast/crash/linux/dump_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698