diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 18:26:29 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-08 18:28:15 +0000 |
commit | 30596f3c861855c634c8cfab82cb660c47466dd6 (patch) | |
tree | fad28282c7892e87c4ce5d3eed5db9963bce1caa /chrome/utility | |
parent | b271912f1e9d4261cd883b18d9c3de666fc30719 (diff) | |
download | chromium_src-30596f3c861855c634c8cfab82cb660c47466dd6.zip chromium_src-30596f3c861855c634c8cfab82cb660c47466dd6.tar.gz chromium_src-30596f3c861855c634c8cfab82cb660c47466dd6.tar.bz2 |
Separate CryptoVerifyImpl into its own file.
This eliminates some dependencies from NetworkingPrivateServiceClient
that will allow it to be moved to src/extensions.
It also changes NetworkingPrivatCrypto from a class to a namespace since that is how we use it.
BUG=363776
Review URL: https://codereview.chromium.org/442073003
Cr-Commit-Position: refs/heads/master@{#288396}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility')
-rw-r--r-- | chrome/utility/extensions/extensions_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/utility/extensions/extensions_handler.cc b/chrome/utility/extensions/extensions_handler.cc index 0786b9e..4866a20 100644 --- a/chrome/utility/extensions/extensions_handler.cc +++ b/chrome/utility/extensions/extensions_handler.cc @@ -278,8 +278,8 @@ void ExtensionsHandler::OnGetAndEncryptWiFiCredentials( std::vector<uint8> ciphertext; bool success = error.empty() && !key_data.empty(); if (success) { - NetworkingPrivateCrypto crypto; - success = crypto.EncryptByteString(public_key, key_data, &ciphertext); + success = networking_private_crypto::EncryptByteString( + public_key, key_data, &ciphertext); } Send(new ChromeUtilityHostMsg_GotEncryptedWiFiCredentials(ciphertext, |