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

Unified Diff: chrome/browser/component_updater/sw_reporter_installer_win.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, 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: chrome/browser/component_updater/sw_reporter_installer_win.cc
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.cc b/chrome/browser/component_updater/sw_reporter_installer_win.cc
index 57e44b2c75032025c0231eaeac387c4a3eacdb87..9ea21f6a80b9db74e29a6ae34cbfeb51e9b6c27f 100644
--- a/chrome/browser/component_updater/sw_reporter_installer_win.cc
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.cc
@@ -210,14 +210,14 @@ void RegisterSwReporterComponent(ComponentUpdateService* cus) {
}
// Get start & end time. If we don't have an end time, we can assume the
// cleaner has not completed.
- int64 start_time_value;
+ int64_t start_time_value;
cleaner_key.ReadInt64(safe_browsing::kStartTimeValueName,
&start_time_value);
bool completed = cleaner_key.HasValue(safe_browsing::kEndTimeValueName);
SRTHasCompleted(completed ? SRT_COMPLETED_YES : SRT_COMPLETED_NOT_YET);
if (completed) {
- int64 end_time_value;
+ int64_t end_time_value;
cleaner_key.ReadInt64(safe_browsing::kEndTimeValueName,
&end_time_value);
cleaner_key.DeleteValue(safe_browsing::kEndTimeValueName);
@@ -247,7 +247,7 @@ void RegisterSwReporterComponent(ComponentUpdateService* cus) {
DCHECK_GT(elapsed.InMilliseconds(), 0);
UMA_HISTOGRAM_BOOLEAN(
"SoftwareReporter.Cleaner.HasRebooted",
- static_cast<uint64>(elapsed.InMilliseconds()) > ::GetTickCount());
+ static_cast<uint64_t>(elapsed.InMilliseconds()) > ::GetTickCount());
}
if (cleaner_key.HasValue(kUploadResultsValueName)) {

Powered by Google App Engine
This is Rietveld 408576698