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

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

Issue 10703162: chromeos: Remove CryptohomeLibrary::TpmGetPassword and TpmIsReady (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More localized variables Created 8 years, 5 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/tpm_password_fetcher.h
diff --git a/chrome/browser/chromeos/login/tpm_password_fetcher.h b/chrome/browser/chromeos/login/tpm_password_fetcher.h
index 326e942dfc91cf219b7050acd4269839c0cb81c4..3aa96b2931c2a6ba19729aa1c181e9fda36dbbc9 100644
--- a/chrome/browser/chromeos/login/tpm_password_fetcher.h
+++ b/chrome/browser/chromeos/login/tpm_password_fetcher.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/memory/weak_ptr.h"
+#include "chromeos/dbus/dbus_method_call_status.h"
namespace chromeos {
@@ -33,6 +34,16 @@ class TpmPasswordFetcher {
void Fetch();
private:
+ // Used to implement Fetch().
+ void OnTpmIsReady(DBusMethodCallStatus call_status, bool tpm_is_ready);
+
+ // Used to implement Fetch().
+ void OnTpmGetPassword(DBusMethodCallStatus call_status,
+ const std::string& password);
+
+ // Posts a task to call Fetch() later.
+ void RescheduleFetch();
+
base::WeakPtrFactory<TpmPasswordFetcher> weak_factory_;
TpmPasswordFetcherDelegate* delegate_;
« no previous file with comments | « chrome/browser/chromeos/cros/cryptohome_library.cc ('k') | chrome/browser/chromeos/login/tpm_password_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698