Index: chrome/browser/chromeos/login/owner_key_utils.h |
=================================================================== |
--- chrome/browser/chromeos/login/owner_key_utils.h (revision 81350) |
+++ chrome/browser/chromeos/login/owner_key_utils.h (working copy) |
@@ -15,7 +15,7 @@ |
class FilePath; |
-namespace base { |
+namespace crypto { |
class RSAPrivateKey; |
} |
@@ -60,12 +60,12 @@ |
// and populate |OUT_signature|. |
virtual bool Sign(const std::string& data, |
std::vector<uint8>* OUT_signature, |
- base::RSAPrivateKey* key) = 0; |
+ crypto::RSAPrivateKey* key) = 0; |
// Looks for the private key associated with |key| in the default slot, |
// and returns it if it can be found. Returns NULL otherwise. |
// Caller takes ownership. |
- virtual base::RSAPrivateKey* FindPrivateKey( |
+ virtual crypto::RSAPrivateKey* FindPrivateKey( |
const std::vector<uint8>& key) = 0; |
virtual FilePath GetOwnerKeyFilePath() = 0; |
@@ -76,7 +76,7 @@ |
// DER encodes public half of |pair| and writes it out to |key_file|. |
// The blob on disk is a DER-encoded X509 SubjectPublicKeyInfo object. |
// Returns false on error. |
- virtual bool ExportPublicKeyToFile(base::RSAPrivateKey* pair, |
+ virtual bool ExportPublicKeyToFile(crypto::RSAPrivateKey* pair, |
const FilePath& key_file) = 0; |
private: |