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

Unified Diff: chrome/utility/extensions/extensions_handler.cc

Issue 442073003: Separate CryptoVerifyImpl into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback Created 6 years, 4 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
Index: chrome/utility/extensions/extensions_handler.cc
diff --git a/chrome/utility/extensions/extensions_handler.cc b/chrome/utility/extensions/extensions_handler.cc
index 0786b9ec380c91374899e859775c5811116590fe..4866a2066b4c28ae4956a1ed79fc2d857adf66ed 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,

Powered by Google App Engine
This is Rietveld 408576698