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

Unified Diff: sync/test/fake_encryptor.cc

Issue 86913002: Make base::Base64Encode() return void (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: One more chromeos-specific fix. Created 7 years 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 | « sync/syncable/syncable_util.cc ('k') | sync/tools/null_invalidation_state_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_encryptor.cc
diff --git a/sync/test/fake_encryptor.cc b/sync/test/fake_encryptor.cc
index 2a1b58cac8d956843c4559e10f81821393bc4810..1d53ea147e0864d2311c25141a2a42ca12e12e9a 100644
--- a/sync/test/fake_encryptor.cc
+++ b/sync/test/fake_encryptor.cc
@@ -12,7 +12,8 @@ FakeEncryptor::~FakeEncryptor() {}
bool FakeEncryptor::EncryptString(const std::string& plaintext,
std::string* ciphertext) {
- return base::Base64Encode(plaintext, ciphertext);
+ base::Base64Encode(plaintext, ciphertext);
+ return true;
}
bool FakeEncryptor::DecryptString(const std::string& ciphertext,
« no previous file with comments | « sync/syncable/syncable_util.cc ('k') | sync/tools/null_invalidation_state_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698