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

Unified Diff: chrome/browser/chromeos/settings/mock_owner_key_util.h

Issue 270663002: Implemented profile-aware owner key loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes, rebase. Created 6 years, 7 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/settings/mock_owner_key_util.h
diff --git a/chrome/browser/chromeos/settings/mock_owner_key_util.h b/chrome/browser/chromeos/settings/mock_owner_key_util.h
index c3f52bd6e8ac135d9320f0e8f8a46de37c5c6ee2..9c598e034310e76fe6fe35b04f877020ed995a94 100644
--- a/chrome/browser/chromeos/settings/mock_owner_key_util.h
+++ b/chrome/browser/chromeos/settings/mock_owner_key_util.h
@@ -23,6 +23,9 @@ class MockOwnerKeyUtil : public OwnerKeyUtil {
virtual bool ImportPublicKey(std::vector<uint8>* output) OVERRIDE;
virtual crypto::RSAPrivateKey* FindPrivateKey(
const std::vector<uint8>& key) OVERRIDE;
+ virtual crypto::RSAPrivateKey* FindPrivateKeyInSlot(
+ const std::vector<uint8>& key,
+ PK11SlotInfo* slot) OVERRIDE;
virtual bool IsPublicKeyPresent() OVERRIDE;
// Clears the public and private keys.

Powered by Google App Engine
This is Rietveld 408576698