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

Unified Diff: mojo/services/test_service/test_time_service_impl.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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
« no previous file with comments | « mojo/services/test_service/test_time_service_impl.h ('k') | mojo/services/test_service/tracked_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/test_service/test_time_service_impl.cc
diff --git a/mojo/services/test_service/test_time_service_impl.cc b/mojo/services/test_service/test_time_service_impl.cc
index 4e17fd3e7a70a53b12e5daaf9139172ccabc240d..f7a6d13b51675e3e6e091632a0474d85450d0399 100644
--- a/mojo/services/test_service/test_time_service_impl.cc
+++ b/mojo/services/test_service/test_time_service_impl.cc
@@ -4,6 +4,8 @@
#include "mojo/services/test_service/test_time_service_impl.h"
+#include <stdint.h>
+
#include <utility>
#include "base/time/time.h"
@@ -37,7 +39,7 @@ void TestTimeServiceImpl::GetPartyTime(
+ base::TimeDelta::FromDays(10957)
+ base::TimeDelta::FromHours(7)
+ base::TimeDelta::FromMinutes(59));
- int64 time(frozen_time.ToInternalValue());
+ int64_t time(frozen_time.ToInternalValue());
callback.Run(time);
}
« no previous file with comments | « mojo/services/test_service/test_time_service_impl.h ('k') | mojo/services/test_service/tracked_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698