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

Unified Diff: chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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/chromeos/policy/auto_enrollment_client_unittest.cc
diff --git a/chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc b/chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc
index 1813430cf00b233152cb13532416e76faa65249a..f89722ef5d6f84155f9db6bd590c38327ccffacc 100644
--- a/chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc
+++ b/chrome/browser/chromeos/policy/auto_enrollment_client_unittest.cc
@@ -8,6 +8,7 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
+#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/prefs/pref_service.h"
#include "base/prefs/testing_pref_service.h"
@@ -90,7 +91,7 @@ class AutoEnrollmentClientTest : public testing::Test {
.WillOnce(service_->FailJob(error));
}
- void ServerWillReply(int64 modulus, bool with_hashes, bool with_id_hash) {
+ void ServerWillReply(int64_t modulus, bool with_hashes, bool with_id_hash) {
em::DeviceManagementResponse response;
em::DeviceAutoEnrollmentResponse* enrollment_response =
response.mutable_auto_enrollment_response();
@@ -387,7 +388,7 @@ TEST_F(AutoEnrollmentClientTest, NoBitsUploaded) {
}
TEST_F(AutoEnrollmentClientTest, ManyBitsUploaded) {
- int64 bottom62 = INT64_C(0x386e7244d097c3e6);
+ int64_t bottom62 = INT64_C(0x386e7244d097c3e6);
for (int i = 0; i <= 62; ++i) {
CreateClient(kStateKey, i, i);
ServerWillReply(-1, false, false);
« no previous file with comments | « chrome/browser/chromeos/policy/auto_enrollment_client.cc ('k') | chrome/browser/chromeos/policy/blocking_login_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698