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

Unified Diff: chrome/browser/policy/test/local_policy_test_server.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (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/policy/test/local_policy_test_server.cc
diff --git a/chrome/browser/policy/test/local_policy_test_server.cc b/chrome/browser/policy/test/local_policy_test_server.cc
index 41838f9d6fa9c92513756d6d7c9113b1a08226a2..26e1f7228bb1330eac239fea06d6c033c1dba329 100644
--- a/chrome/browser/policy/test/local_policy_test_server.cc
+++ b/chrome/browser/policy/test/local_policy_test_server.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/policy/test/local_policy_test_server.h"
#include <ctype.h>
+#include <stdint.h>
#include <algorithm>
#include <vector>
@@ -14,6 +15,7 @@
#include "base/json/json_writer.h"
#include "base/path_service.h"
#include "base/strings/stringprintf.h"
+#include "build/build_config.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "crypto/rsa_private_key.h"
#include "net/test/python_utils.h"
@@ -89,7 +91,7 @@ bool LocalPolicyTestServer::SetSigningKeyAndSignature(
const crypto::RSAPrivateKey* key, const std::string& signature) {
CHECK(server_data_dir_.IsValid());
- std::vector<uint8> signing_key_bits;
+ std::vector<uint8_t> signing_key_bits;
if (!key->ExportPrivateKey(&signing_key_bits))
return false;
« no previous file with comments | « chrome/browser/policy/test/local_policy_test_server.h ('k') | chrome/browser/power/process_power_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698