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

Unified Diff: components/sync/driver/system_encryptor.h

Issue 2395533003: [Sync] Move some things from driver to base. (Closed)
Patch Set: Rebase. Created 4 years, 2 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/driver/sync_service_utils.cc ('k') | components/sync/driver/system_encryptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/system_encryptor.h
diff --git a/components/sync/driver/system_encryptor.h b/components/sync/driver/system_encryptor.h
deleted file mode 100644
index 4b7aceca1ba9612768c720f52662d692da3dd8f3..0000000000000000000000000000000000000000
--- a/components/sync/driver/system_encryptor.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef COMPONENTS_SYNC_DRIVER_SYSTEM_ENCRYPTOR_H_
-#define COMPONENTS_SYNC_DRIVER_SYSTEM_ENCRYPTOR_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "components/sync/base/encryptor.h"
-
-namespace syncer {
-
-// Encryptor that uses the Chrome password manager's encryptor.
-class SystemEncryptor : public Encryptor {
- public:
- ~SystemEncryptor() override;
-
- bool EncryptString(const std::string& plaintext,
- std::string* ciphertext) override;
-
- bool DecryptString(const std::string& ciphertext,
- std::string* plaintext) override;
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_DRIVER_SYSTEM_ENCRYPTOR_H_
« no previous file with comments | « components/sync/driver/sync_service_utils.cc ('k') | components/sync/driver/system_encryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698