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

Unified Diff: owner_key.h

Issue 6469072: [login_manager] Use keygen helper to generate owner key (Closed) Base URL: http://git.chromium.org/git/login_manager.git@master
Patch Set: Add a few constants Created 9 years, 10 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 | « nss_util.cc ('k') | owner_key.cc » ('j') | session_manager_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: owner_key.h
diff --git a/owner_key.h b/owner_key.h
index ed7bf144334ed8b93fb6350da9731a827df77ba5..9335b8bcf4c2488c3cde34a914fe6353e5c7fac5 100644
--- a/owner_key.h
+++ b/owner_key.h
@@ -17,6 +17,7 @@ class SignatureVerifier;
} // namespace base
namespace login_manager {
+class ChildJobInterface;
class SystemUtils;
// This class holds the device owner's public key.
@@ -72,6 +73,9 @@ class OwnerKey {
uint32 data_len,
std::vector<uint8>* OUT_signature);
+ // Runs |generator| in a child process. Returns pid of the child.
+ virtual int StartGeneration(ChildJobInterface* generator);
+
// Returned reference will be empty if we haven't populated |key_| yet.
const std::vector<uint8>& public_key_der() const {
return key_;
« no previous file with comments | « nss_util.cc ('k') | owner_key.cc » ('j') | session_manager_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698