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

Unified Diff: content/child/webcrypto/openssl/key_openssl.h

Issue 404733005: Replace uses of uint8 with uint8_t. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master 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
« no previous file with comments | « content/child/webcrypto/openssl/hmac_openssl.cc ('k') | content/child/webcrypto/openssl/key_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/openssl/key_openssl.h
diff --git a/content/child/webcrypto/openssl/key_openssl.h b/content/child/webcrypto/openssl/key_openssl.h
index ef3243893106161c24c0a9b7d3bdbd5356d9e1e9..34e758d32f2ff893ad4687b22fca85acce5b195d 100644
--- a/content/child/webcrypto/openssl/key_openssl.h
+++ b/content/child/webcrypto/openssl/key_openssl.h
@@ -5,12 +5,17 @@
#ifndef CONTENT_CHILD_WEBCRYPTO_OPENSSL_KEY_OPENSSL_H_
#define CONTENT_CHILD_WEBCRYPTO_OPENSSL_KEY_OPENSSL_H_
-#include "content/child/webcrypto/algorithm_implementation.h"
+#include <stdint.h>
+#include <vector>
+
+#include "base/macros.h"
+#include "third_party/WebKit/public/platform/WebCryptoKey.h"
namespace content {
namespace webcrypto {
+class CryptoData;
class SymKeyOpenSsl;
// Base key class for all OpenSSL keys, used to safely cast between types. Each
@@ -24,12 +29,12 @@ class KeyOpenSsl : public blink::WebCryptoKeyHandle {
virtual SymKeyOpenSsl* AsSymKey();
- 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 SymKeyOpenSsl : public KeyOpenSsl {
@@ -41,7 +46,7 @@ class SymKeyOpenSsl : public KeyOpenSsl {
virtual SymKeyOpenSsl* AsSymKey() OVERRIDE;
- const std::vector<uint8>& raw_key_data() const {
+ const std::vector<uint8_t>& raw_key_data() const {
return serialized_key_data();
}
« no previous file with comments | « content/child/webcrypto/openssl/hmac_openssl.cc ('k') | content/child/webcrypto/openssl/key_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698