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

Unified Diff: src/platform/vboot_reference/utility/include/gbb_utility.h

Issue 2553001: Add 'recovery_key' in Google Binary Block (GBB) utility (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
Patch Set: Created 10 years, 7 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: src/platform/vboot_reference/utility/include/gbb_utility.h
diff --git a/src/platform/vboot_reference/utility/include/gbb_utility.h b/src/platform/vboot_reference/utility/include/gbb_utility.h
index 021eb80fcd8597d1c87d957aa041f3c78752b217..468cddf99b999aef17af6d9d1c984f6a3b6bbee2 100644
--- a/src/platform/vboot_reference/utility/include/gbb_utility.h
+++ b/src/platform/vboot_reference/utility/include/gbb_utility.h
@@ -18,6 +18,7 @@ class GoogleBinaryBlockUtil {
PROP_HWID, // hardware id
PROP_ROOTKEY, // root key
PROP_BMPFV, // bitmap FV
+ PROP_RCVKEY, // recovery key
PROP_RANGE, // indicator of valid property range
};
@@ -48,9 +49,11 @@ class GoogleBinaryBlockUtil {
bool set_hwid(const char *hwid); // NOTE: hwid is NUL-terminated.
bool set_rootkey(const std::string &value);
bool set_bmpfv(const std::string &value);
+ bool set_recovery_key(const std::string &value);
std::string get_hwid() const { return get_property(PROP_HWID); }
std::string get_rootkey() const { return get_property(PROP_ROOTKEY); }
std::string get_bmpfv() const { return get_property(PROP_BMPFV); }
+ std::string get_recovery_key() const { return get_property(PROP_RCVKEY); }
private:
// clear all cached data and initialize to original state
« no previous file with comments | « src/platform/vboot_reference/utility/gbb_utility.cc ('k') | src/platform/vboot_reference/vboot_firmware/include/gbb_header.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698