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

Unified Diff: content/child/webcrypto/algorithm_implementation.cc

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/algorithm_implementation.h ('k') | content/child/webcrypto/jwk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/algorithm_implementation.cc
diff --git a/content/child/webcrypto/algorithm_implementation.cc b/content/child/webcrypto/algorithm_implementation.cc
index 321a5c30f05ed8f84450d8468f080f5b2d543951..d362fc9afc1fb1b55656d03a7ac39d3a34f7298f 100644
--- a/content/child/webcrypto/algorithm_implementation.cc
+++ b/content/child/webcrypto/algorithm_implementation.cc
@@ -17,7 +17,7 @@ Status AlgorithmImplementation::Encrypt(
const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const CryptoData& data,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupported();
}
@@ -25,14 +25,14 @@ Status AlgorithmImplementation::Decrypt(
const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const CryptoData& data,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupported();
}
Status AlgorithmImplementation::Sign(const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const CryptoData& data,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupported();
}
@@ -48,7 +48,7 @@ Status AlgorithmImplementation::Verify(
Status AlgorithmImplementation::Digest(
const blink::WebCryptoAlgorithm& algorithm,
const CryptoData& data,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupported();
}
@@ -125,25 +125,27 @@ Status AlgorithmImplementation::ImportKeyJwk(
return Status::ErrorUnsupportedImportKeyFormat();
}
-Status AlgorithmImplementation::ExportKeyRaw(const blink::WebCryptoKey& key,
- std::vector<uint8>* buffer) const {
+Status AlgorithmImplementation::ExportKeyRaw(
+ const blink::WebCryptoKey& key,
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupportedExportKeyFormat();
}
Status AlgorithmImplementation::ExportKeyPkcs8(
const blink::WebCryptoKey& key,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupportedExportKeyFormat();
}
Status AlgorithmImplementation::ExportKeySpki(
const blink::WebCryptoKey& key,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupportedExportKeyFormat();
}
-Status AlgorithmImplementation::ExportKeyJwk(const blink::WebCryptoKey& key,
- std::vector<uint8>* buffer) const {
+Status AlgorithmImplementation::ExportKeyJwk(
+ const blink::WebCryptoKey& key,
+ std::vector<uint8_t>* buffer) const {
return Status::ErrorUnsupportedExportKeyFormat();
}
« no previous file with comments | « content/child/webcrypto/algorithm_implementation.h ('k') | content/child/webcrypto/jwk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698