Index: compat/win/sys/time.h |
diff --git a/client/crash_report_database.cc b/compat/win/sys/time.h |
similarity index 71% |
copy from client/crash_report_database.cc |
copy to compat/win/sys/time.h |
index 0a090b5c2c39b7a85e59e1c595d19daf90ba3384..46bdef2a3810669fcf310d9d8a29a29980c3c894 100644 |
--- a/client/crash_report_database.cc |
+++ b/compat/win/sys/time.h |
@@ -12,13 +12,12 @@ |
// See the License for the specific language governing permissions and |
// limitations under the License. |
-#include "client/crash_report_database.h" |
+#ifndef CRASHPAD_COMPAT_WIN_SYS_TIME_H_ |
+#define CRASHPAD_COMPAT_WIN_SYS_TIME_H_ |
-namespace crashpad { |
+struct timeval { |
+ long tv_sec; |
+ long tv_usec; |
+}; |
-CrashReportDatabase::Report::Report() |
- : uuid(), file_path(), id(), creation_time(0), uploaded(false), |
- last_upload_attempt_time(0), upload_attempts(0) { |
-} |
- |
-} // namespace crashpad |
+#endif // CRASHPAD_COMPAT_WIN_SYS_TIME_H_ |