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

Unified Diff: content/renderer/webcrypto/webcrypto_impl.cc

Issue 147573002: [style] Consistently use "unsigned int" rather than just "unsigned". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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/renderer/webcrypto/webcrypto_impl.h ('k') | content/renderer/webcrypto/webcrypto_impl_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webcrypto/webcrypto_impl.cc
diff --git a/content/renderer/webcrypto/webcrypto_impl.cc b/content/renderer/webcrypto/webcrypto_impl.cc
index 1f20b4410a1252d5571138b3dcb33568aeb1bed7..78df5ba9f81e6358cad1a13a48be42b4b63d5c50 100644
--- a/content/renderer/webcrypto/webcrypto_impl.cc
+++ b/content/renderer/webcrypto/webcrypto_impl.cc
@@ -179,7 +179,7 @@ void WebCryptoImpl::encrypt(
const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const unsigned char* data,
- unsigned data_size,
+ unsigned int data_size,
blink::WebCryptoResult result) {
DCHECK(!algorithm.isNull());
blink::WebArrayBuffer buffer;
@@ -194,7 +194,7 @@ void WebCryptoImpl::decrypt(
const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const unsigned char* data,
- unsigned data_size,
+ unsigned int data_size,
blink::WebCryptoResult result) {
DCHECK(!algorithm.isNull());
blink::WebArrayBuffer buffer;
@@ -208,7 +208,7 @@ void WebCryptoImpl::decrypt(
void WebCryptoImpl::digest(
const blink::WebCryptoAlgorithm& algorithm,
const unsigned char* data,
- unsigned data_size,
+ unsigned int data_size,
blink::WebCryptoResult result) {
DCHECK(!algorithm.isNull());
blink::WebArrayBuffer buffer;
@@ -262,7 +262,7 @@ void WebCryptoImpl::generateKey(
void WebCryptoImpl::importKey(
blink::WebCryptoKeyFormat format,
const unsigned char* key_data,
- unsigned key_data_size,
+ unsigned int key_data_size,
const blink::WebCryptoAlgorithm& algorithm_or_null,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
@@ -311,7 +311,7 @@ void WebCryptoImpl::sign(
const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const unsigned char* data,
- unsigned data_size,
+ unsigned int data_size,
blink::WebCryptoResult result) {
DCHECK(!algorithm.isNull());
blink::WebArrayBuffer buffer;
@@ -326,9 +326,9 @@ void WebCryptoImpl::verifySignature(
const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& key,
const unsigned char* signature,
- unsigned signature_size,
+ unsigned int signature_size,
const unsigned char* data,
- unsigned data_size,
+ unsigned int data_size,
blink::WebCryptoResult result) {
DCHECK(!algorithm.isNull());
bool signature_match = false;
@@ -347,7 +347,7 @@ void WebCryptoImpl::verifySignature(
Status WebCryptoImpl::ImportKeyJwk(
const unsigned char* key_data,
- unsigned key_data_size,
+ unsigned int key_data_size,
const blink::WebCryptoAlgorithm& algorithm_or_null,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
« no previous file with comments | « content/renderer/webcrypto/webcrypto_impl.h ('k') | content/renderer/webcrypto/webcrypto_impl_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698