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

Unified Diff: chrome/browser/chromeos/platform_keys/platform_keys_nss.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/platform_keys/platform_keys_nss.cc
diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
index 053a6730a312a62df2d9e777fab0ea8b28472b77..6ed2898b1c073d700acc2995b7478d4bd5ab4d56 100644
--- a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
@@ -8,6 +8,8 @@
#include <cryptohi.h>
#include <keyhi.h>
#include <secder.h>
+#include <stddef.h>
+#include <stdint.h>
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -444,9 +446,9 @@ void GenerateRSAKeyWithDB(scoped_ptr<GenerateRSAKeyState> state,
// Does the actual signing on a worker thread. Used by SignRSAWithDB().
void SignRSAOnWorkerThread(scoped_ptr<SignRSAState> state) {
- const uint8* public_key_uint8 =
- reinterpret_cast<const uint8*>(state->public_key_.data());
- std::vector<uint8> public_key_vector(
+ const uint8_t* public_key_uint8 =
+ reinterpret_cast<const uint8_t*>(state->public_key_.data());
+ std::vector<uint8_t> public_key_vector(
public_key_uint8, public_key_uint8 + state->public_key_.size());
crypto::ScopedSECKEYPrivateKey rsa_key;
« no previous file with comments | « chrome/browser/chromeos/platform_keys/platform_keys.h ('k') | chrome/browser/chromeos/platform_keys/platform_keys_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698