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

Unified Diff: components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc

Issue 1543423002: Switch to standard integer types in components/policy/. (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: components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
diff --git a/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc b/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
index 41eb63b7a8e1437e4591e3eef1dca2254ba2ef4d..3d93f8f3da1c1be90e3c693c4d807639e44f77c6 100644
--- a/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
+++ b/components/policy/core/common/cloud/external_policy_data_fetcher_unittest.cc
@@ -4,9 +4,12 @@
#include "components/policy/core/common/cloud/external_policy_data_fetcher.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/sequenced_task_runner.h"
#include "base/test/test_simple_task_runner.h"
#include "net/base/net_errors.h"
@@ -26,7 +29,7 @@ const char* kExternalPolicyDataURLs[] = {
"http://localhost/data_2"
};
-const int64 kExternalPolicyDataMaxSize = 5 * 1024 * 1024; // 5 MB.
+const int64_t kExternalPolicyDataMaxSize = 5 * 1024 * 1024; // 5 MB.
const char* kExternalPolicyDataPayload = "External policy data";

Powered by Google App Engine
This is Rietveld 408576698