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

Unified Diff: chrome/browser/chromeos/login/ownership_service.h

Issue 6538098: [Chrome OS] Owner keys are generated outside Chrome now; handle appropriately (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/chromeos/login/ownership_service.h
diff --git a/chrome/browser/chromeos/login/ownership_service.h b/chrome/browser/chromeos/login/ownership_service.h
index 6cc733fdf679608f49c3c34a346398e234ce0115..37fed4c71def3800a55f4409c95e28631d06e58d 100644
--- a/chrome/browser/chromeos/login/ownership_service.h
+++ b/chrome/browser/chromeos/login/ownership_service.h
@@ -32,16 +32,6 @@ class OwnershipService {
// OWNER_KEY_FETCH_ATTEMPT_FAILED on failure.
virtual void StartLoadOwnerKeyAttempt();
- // If the device has not yet been owned, posts a task to the FILE
- // thread to generate the owner's keys and put them in the right
- // places. Keeps them in memory as well, for later use.
- //
- // Upon failure, sends out OWNER_KEY_FETCH_ATTEMPT_FAILED.
- // Upon success, sends out OWNER_KEY_FETCH_ATTEMPT_SUCCESS.
- // If no attempt is started (if the device is already owned), no
- // notification is sent.
- virtual void StartTakeOwnershipAttempt(const std::string& unused);
-
// Initiate an attempt to sign |data| with |private_key_|. Will call
// d->OnKeyOpComplete() when done. Upon success, the signature will be passed
// as the |payload| argument to d->OnKeyOpComplete().
@@ -76,7 +66,6 @@ class OwnershipService {
friend class OwnershipServiceTest;
static void TryLoadOwnerKeyAttempt(OwnershipService* service);
- static void TryTakeOwnershipAttempt(OwnershipService* service);
static void TrySigningAttempt(OwnershipService* service,
const BrowserThread::ID thread_id,
const std::string& data,
« no previous file with comments | « chrome/browser/chromeos/login/owner_manager_unittest.cc ('k') | chrome/browser/chromeos/login/ownership_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698