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

Unified Diff: chrome/installer/gcapi/gcapi_reactivation.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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: chrome/installer/gcapi/gcapi_reactivation.cc
diff --git a/chrome/installer/gcapi/gcapi_reactivation.cc b/chrome/installer/gcapi/gcapi_reactivation.cc
index 8580271137334423d2d8098a904d9a8d63b0a1f5..20a6202b064592c2b727819fae266f56d3adefad 100644
--- a/chrome/installer/gcapi/gcapi_reactivation.cc
+++ b/chrome/installer/gcapi/gcapi_reactivation.cc
@@ -4,6 +4,8 @@
#include "chrome/installer/gcapi/gcapi_reactivation.h"
+#include <stdint.h>
+
#include "base/time/time.h"
#include "base/win/registry.h"
#include "chrome/installer/gcapi/gcapi.h"
@@ -60,7 +62,7 @@ bool SetReactivationBrandCode(const std::wstring& brand_code, int shell_mode) {
GetReactivationHistoryKeyPath().c_str(),
KEY_WRITE | KEY_WOW64_32KEY);
if (reactivation_key.Valid()) {
- int64 timestamp = Time::Now().ToInternalValue();
+ int64_t timestamp = Time::Now().ToInternalValue();
reactivation_key.WriteValue(brand_code.c_str(),
&timestamp,
sizeof(timestamp),
« no previous file with comments | « chrome/installer/gcapi/gcapi_omaha_experiment_test.cc ('k') | chrome/installer/gcapi/gcapi_reactivation_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698