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

Unified Diff: components/sync_driver/system_encryptor.cc

Issue 183953005: Rename components's Encryptor to OSEncrypt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: similarity Created 6 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
Index: components/sync_driver/system_encryptor.cc
diff --git a/components/sync_driver/system_encryptor.cc b/components/sync_driver/system_encryptor.cc
index 3198d6f470b4a61c3988633522f640a4020fe2eb..2a82a6c3697ce0bb20060f009d48ea5cda13fe9e 100644
--- a/components/sync_driver/system_encryptor.cc
+++ b/components/sync_driver/system_encryptor.cc
@@ -4,7 +4,7 @@
#include "components/sync_driver/system_encryptor.h"
-#include "components/encryptor/encryptor.h"
+#include "components/encryptor/os_crypt.h"
namespace browser_sync {
@@ -12,12 +12,12 @@ SystemEncryptor::~SystemEncryptor() {}
bool SystemEncryptor::EncryptString(const std::string& plaintext,
std::string* ciphertext) {
- return ::Encryptor::EncryptString(plaintext, ciphertext);
+ return ::OSCrypt::EncryptString(plaintext, ciphertext);
}
bool SystemEncryptor::DecryptString(const std::string& ciphertext,
std::string* plaintext) {
- return ::Encryptor::DecryptString(ciphertext, plaintext);
+ return ::OSCrypt::DecryptString(ciphertext, plaintext);
}
} // namespace browser_sync
« no previous file with comments | « components/signin/core/webdata/token_service_table.cc ('k') | components/sync_driver/system_encryptor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698