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

Unified Diff: chrome/browser/sync/glue/chrome_encryptor.cc

Issue 9585025: [Sync] Fix EncryptString call that should be a DecryptString call (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/chrome_encryptor.cc
diff --git a/chrome/browser/sync/glue/chrome_encryptor.cc b/chrome/browser/sync/glue/chrome_encryptor.cc
index 4f08684f59d55e4caf53f9aa25ff95584efc6383..ec310abc9b9c2bd45099c0249c8e0a3943caa3e8 100644
--- a/chrome/browser/sync/glue/chrome_encryptor.cc
+++ b/chrome/browser/sync/glue/chrome_encryptor.cc
@@ -17,7 +17,7 @@ bool ChromeEncryptor::EncryptString(const std::string& plaintext,
bool ChromeEncryptor::DecryptString(const std::string& ciphertext,
std::string* plaintext) {
- return ::Encryptor::EncryptString(ciphertext, plaintext);
+ return ::Encryptor::DecryptString(ciphertext, plaintext);
}
} // namespace browser_sync
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698