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

Unified Diff: components/sync/test/fake_encryptor.cc

Issue 2245073003: [Sync] Clean up intra-sync DEPS significantly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments/fix test. Created 4 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
« no previous file with comments | « components/sync/test/fake_encryptor.h ('k') | components/sync/test/fake_sync_encryption_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/test/fake_encryptor.cc
diff --git a/components/sync/test/fake_encryptor.cc b/components/sync/test/fake_encryptor.cc
deleted file mode 100644
index 490c031245af5f60c2d9ae9b8002ac5d85baac86..0000000000000000000000000000000000000000
--- a/components/sync/test/fake_encryptor.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/sync/test/fake_encryptor.h"
-
-#include "base/base64.h"
-
-namespace syncer {
-
-FakeEncryptor::~FakeEncryptor() {}
-
-bool FakeEncryptor::EncryptString(const std::string& plaintext,
- std::string* ciphertext) {
- base::Base64Encode(plaintext, ciphertext);
- return true;
-}
-
-bool FakeEncryptor::DecryptString(const std::string& ciphertext,
- std::string* plaintext) {
- return base::Base64Decode(ciphertext, plaintext);
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/test/fake_encryptor.h ('k') | components/sync/test/fake_sync_encryption_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698