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

Unified Diff: cloud_print/gcp20/prototype/x_privet_token_unittest.cc

Issue 1540213002: Switch to standard integer types in cloud_print/. (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
« no previous file with comments | « cloud_print/gcp20/prototype/x_privet_token.cc ('k') | cloud_print/service/service_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « cloud_print/gcp20/prototype/x_privet_token.cc ('k') | cloud_print/service/service_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698