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

Unified Diff: util/win/time.h

Issue 940793002: win: add equivalent of gettimeofday (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 10 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 | « util/util.gyp ('k') | util/win/time.cc » ('j') | util/win/time.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/time.h
diff --git a/client/crash_report_database.cc b/util/win/time.h
similarity index 76%
copy from client/crash_report_database.cc
copy to util/win/time.h
index 0a090b5c2c39b7a85e59e1c595d19daf90ba3384..29d1075fc115638fcee93d18f52c65b49373ba50 100644
--- a/client/crash_report_database.cc
+++ b/util/win/time.h
@@ -12,13 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "client/crash_report_database.h"
+#ifndef CRASHPAD_UTIL_WIN_TIME_H_
+#define CRASHPAD_UTIL_WIN_TIME_H_
+
+#include <sys/time.h>
namespace crashpad {
-CrashReportDatabase::Report::Report()
- : uuid(), file_path(), id(), creation_time(0), uploaded(false),
- last_upload_attempt_time(0), upload_attempts(0) {
-}
+void GetTimeOfDay(timeval* tv);
Mark Mentovai 2015/02/20 18:15:33 //! \brief to explain this just a little bit?
scottmg 2015/02/20 19:27:56 Done.
} // namespace crashpad
+
+#endif // CRASHPAD_UTIL_WIN_TIME_H_
« no previous file with comments | « util/util.gyp ('k') | util/win/time.cc » ('j') | util/win/time.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698