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

Unified Diff: content/child/webcrypto/nss/key_nss.h

Issue 404733005: Replace uses of uint8 with uint8_t. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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: content/child/webcrypto/nss/key_nss.h
diff --git a/content/child/webcrypto/nss/key_nss.h b/content/child/webcrypto/nss/key_nss.h
index f1980e27ad7ff7f4e04a4d506eaf02534834eea1..c2d8c816e303c28e7afa4d479b918f7c259e8e69 100644
--- a/content/child/webcrypto/nss/key_nss.h
+++ b/content/child/webcrypto/nss/key_nss.h
@@ -30,12 +30,12 @@ class KeyNss : public blink::WebCryptoKeyHandle {
virtual PublicKeyNss* AsPublicKey();
virtual PrivateKeyNss* AsPrivateKey();
- const std::vector<uint8>& serialized_key_data() const {
+ const std::vector<uint8_t>& serialized_key_data() const {
return serialized_key_data_;
}
private:
- const std::vector<uint8> serialized_key_data_;
+ const std::vector<uint8_t> serialized_key_data_;
};
class SymKeyNss : public KeyNss {
@@ -48,7 +48,7 @@ class SymKeyNss : public KeyNss {
PK11SymKey* key() { return key_.get(); }
virtual SymKeyNss* AsSymKey() OVERRIDE;
- const std::vector<uint8>& raw_key_data() const {
+ const std::vector<uint8_t>& raw_key_data() const {
return serialized_key_data();
}
@@ -68,7 +68,9 @@ class PublicKeyNss : public KeyNss {
SECKEYPublicKey* key() { return key_.get(); }
virtual PublicKeyNss* AsPublicKey() OVERRIDE;
- const std::vector<uint8>& spki_data() const { return serialized_key_data(); }
+ const std::vector<uint8_t>& spki_data() const {
+ return serialized_key_data();
+ }
private:
crypto::ScopedSECKEYPublicKey key_;
@@ -87,7 +89,9 @@ class PrivateKeyNss : public KeyNss {
SECKEYPrivateKey* key() { return key_.get(); }
virtual PrivateKeyNss* AsPrivateKey() OVERRIDE;
- const std::vector<uint8>& pkcs8_data() const { return serialized_key_data(); }
+ const std::vector<uint8_t>& pkcs8_data() const {
+ return serialized_key_data();
+ }
private:
crypto::ScopedSECKEYPrivateKey key_;

Powered by Google App Engine
This is Rietveld 408576698