| Index: chrome/browser/chromeos/settings/install_attributes.h
|
| diff --git a/chrome/browser/chromeos/settings/install_attributes.h b/chrome/browser/chromeos/settings/install_attributes.h
|
| index 53615dfc33021b62d0a2c05eed62ff2e928afd9f..c08e3ded92ed8af0b1de0a4e9f0bf3cb2d418aa2 100644
|
| --- a/chrome/browser/chromeos/settings/install_attributes.h
|
| +++ b/chrome/browser/chromeos/settings/install_attributes.h
|
| @@ -70,6 +70,13 @@ class InstallAttributes {
|
| // ReadAttributesIfReady().
|
| void ReadImmutableAttributes(const base::Closure& callback);
|
|
|
| + // Updates the firmware management parameters from TPM, storing the devmode
|
| + // flag according to |block_devmode|. Invokes |callback| when done. Must be
|
| + // called before LockDevice is done. Used to update TPM on enrollment.
|
| + void SetBlockDevmodeInTpm(
|
| + bool block_devmode,
|
| + const CryptohomeClient::ProtobufMethodCallback& callback);
|
| +
|
| // Locks the device into |device_mode|. Depending on |device_mode|, a
|
| // specific subset of |domain|, |realm| and |device_id| must be set. Can also
|
| // be called after the lock has already been taken, in which case it checks
|
|
|