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

Unified Diff: chrome/browser/chromeos/cros/cert_library.h

Issue 14179007: Move cryptohome_library to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: chrome/browser/chromeos/cros/cert_library.h
diff --git a/chrome/browser/chromeos/cros/cert_library.h b/chrome/browser/chromeos/cros/cert_library.h
index faaa8780bfb0bd0b3b744b0fb9600b7989148a65..7015ef085cc80daec344bc8969a725c9fe666a41 100644
--- a/chrome/browser/chromeos/cros/cert_library.h
+++ b/chrome/browser/chromeos/cros/cert_library.h
@@ -100,23 +100,6 @@ class CertLibrary {
// Returns the current list of server CA certificates.
virtual const CertList& GetCACertificates() const = 0;
-
- // Encrypts |token| with the system salt key (stable for the lifetime
- // of the device). Useful to avoid storing plain text in place like
- // Local State.
- virtual std::string EncryptWithSystemSalt(const std::string& token) = 0;
-
- // Decrypts |token| with the system salt key (stable for the lifetime
- // of the device).
- virtual std::string DecryptWithSystemSalt(
- const std::string& encrypted_token_hex) = 0;
-
- // Encrypts |token| with supplemental user key (unique for each user).
- virtual std::string EncryptWithUserKey(const std::string& token) = 0;
-
- // Decrypts |token| with supplemental user key (unique for each user).
- virtual std::string DecryptWithUserKey(
- const std::string& encrypted_token_hex) = 0;
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698