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

Unified Diff: chrome/browser/chromeos/settings/install_attributes.h

Issue 2727713003: Update FWMP in TPM (Closed)
Patch Set: Nit Created 3 years, 9 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/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

Powered by Google App Engine
This is Rietveld 408576698