Index: cloud_print/gcp20/prototype/x_privet_token_unittest.cc |
diff --git a/cloud_print/gcp20/prototype/x_privet_token_unittest.cc b/cloud_print/gcp20/prototype/x_privet_token_unittest.cc |
index 38d783b280a9a6364f6e509866e9f0743bbeadbe..0cf17c6b3ffb1dbbdd8f537755d445df8568834d 100644 |
--- a/cloud_print/gcp20/prototype/x_privet_token_unittest.cc |
+++ b/cloud_print/gcp20/prototype/x_privet_token_unittest.cc |
@@ -4,10 +4,10 @@ |
#include "cloud_print/gcp20/prototype/x_privet_token.h" |
+#include <stdint.h> |
#include <stdio.h> |
#include "base/base64.h" |
-#include "base/basictypes.h" |
#include "base/format_macros.h" |
#include "base/logging.h" |
#include "base/sha1.h" |
@@ -18,8 +18,8 @@ |
TEST(XPrivetTokenTest, Generation) { |
std::string secret = "E3E92296-E290-4E77-B678-6AEF256C30C8"; |
- uint64 gen_time = 1372444784; |
- uint64 issue_time = gen_time; |
+ uint64_t gen_time = 1372444784; |
+ uint64_t issue_time = gen_time; |
XPrivetToken xtoken(secret, base::Time::FromTimeT(gen_time)); |