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

Unified Diff: chromeos/dbus/cryptohome_client.h

Issue 2812053004: Update FWMP in TPM (Closed)
Patch Set: Created 3 years, 8 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 | « chrome/browser/chromeos/settings/install_attributes_unittest.cc ('k') | chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/cryptohome_client.h
diff --git a/chromeos/dbus/cryptohome_client.h b/chromeos/dbus/cryptohome_client.h
index 8fc61f94b0e4f64241a565479d13f9aad0ed5e41..039b17372b529e28817ed3a069f572f7297bfd0c 100644
--- a/chromeos/dbus/cryptohome_client.h
+++ b/chromeos/dbus/cryptohome_client.h
@@ -27,8 +27,10 @@ class FlushAndSignBootAttributesRequest;
class GetBootAttributeRequest;
class GetKeyDataRequest;
class MountRequest;
+class RemoveFirmwareManagementParametersRequest;
class RemoveKeyRequest;
class SetBootAttributeRequest;
+class SetFirmwareManagementParametersRequest;
class UpdateKeyRequest;
class Identification;
@@ -555,6 +557,20 @@ class CHROMEOS_EXPORT CryptohomeClient : public DBusClient {
const cryptohome::FlushAndSignBootAttributesRequest& request,
const ProtobufMethodCallback& callback) = 0;
+ // Asynchronously calls RemoveFirmwareManagementParameters method. |callback|
+ // is called after method call, and with reply protobuf.
+ virtual void RemoveFirmwareManagementParametersFromTpm(
+ const cryptohome::RemoveFirmwareManagementParametersRequest& request,
+ const ProtobufMethodCallback& callback) = 0;
+
+ // Asynchronously calls SetFirmwareManagementParameters method. |callback|
+ // is called after method call, and with reply protobuf. |request| contains
+ // the flags to be set. SetFirmwareManagementParameters creates the firmware
+ // management parameters in TPM and sets flags included in the request.
+ virtual void SetFirmwareManagementParametersInTpm(
+ const cryptohome::SetFirmwareManagementParametersRequest& request,
+ const ProtobufMethodCallback& callback) = 0;
+
protected:
// Create() should be used instead.
CryptohomeClient();
« no previous file with comments | « chrome/browser/chromeos/settings/install_attributes_unittest.cc ('k') | chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698