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

Unified Diff: components/browser_watcher/exit_funnel_win.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: components/browser_watcher/exit_funnel_win.cc
diff --git a/components/browser_watcher/exit_funnel_win.cc b/components/browser_watcher/exit_funnel_win.cc
index 5a817684fc734ad436505612b2ebfa534737bb94..abb66dedffc2e234811f1b771b9d2244d825f856 100644
--- a/components/browser_watcher/exit_funnel_win.cc
+++ b/components/browser_watcher/exit_funnel_win.cc
@@ -5,6 +5,7 @@
#include "components/browser_watcher/exit_funnel_win.h"
#include <windows.h>
+#include <stdint.h>
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
@@ -54,7 +55,7 @@ bool ExitFunnel::RecordEvent(const base::char16* event_name) {
if (!key_.Valid())
return false;
- int64 now = base::Time::Now().ToInternalValue();
+ int64_t now = base::Time::Now().ToInternalValue();
LONG res = key_.WriteValue(event_name, &now, sizeof(now), REG_QWORD);
if (res != ERROR_SUCCESS) {
« no previous file with comments | « components/browser_watcher/exit_code_watcher_win_unittest.cc ('k') | components/browser_watcher/exit_funnel_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698