Skip to content

Commit

Permalink
[refactor] Split up some large switch statements.
Browse files Browse the repository at this point in the history
BUG=245025
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/147533002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248108 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
eroman@chromium.org committed Jan 31, 2014
1 parent b8836f2 commit c6d4d1d
Show file tree
Hide file tree
Showing 5 changed files with 457 additions and 367 deletions.
2 changes: 1 addition & 1 deletion content/renderer/webcrypto/webcrypto_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void WebCryptoImpl::generateKey(
}
} else {
blink::WebCryptoKey key = blink::WebCryptoKey::createNull();
Status status = GenerateKeyInternal(
Status status = GenerateSecretKeyInternal(
algorithm, extractable, usage_mask, &key);
if (status.IsError()) {
CompleteWithError(status, &result);
Expand Down
2 changes: 1 addition & 1 deletion content/renderer/webcrypto/webcrypto_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class CONTENT_EXPORT WebCryptoImpl
const unsigned char* data,
unsigned data_size,
blink::WebArrayBuffer* buffer);
webcrypto::Status GenerateKeyInternal(
webcrypto::Status GenerateSecretKeyInternal(
const blink::WebCryptoAlgorithm& algorithm,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
Expand Down
Loading

0 comments on commit c6d4d1d

Please sign in to comment.