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

Unified Diff: chromeos/dbus/easy_unlock_client.cc

Issue 518643002: Add ability to pass decryption key id to CreateSecureMessage method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 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: chromeos/dbus/easy_unlock_client.cc
diff --git a/chromeos/dbus/easy_unlock_client.cc b/chromeos/dbus/easy_unlock_client.cc
index 60040c018c95e5eeb5d77d21fc7f7ecfd2e69585..ea07f1c0937192eaa666cac0bf28415ed6112558 100644
--- a/chromeos/dbus/easy_unlock_client.cc
+++ b/chromeos/dbus/easy_unlock_client.cc
@@ -78,6 +78,7 @@ class EasyUnlockClientImpl : public EasyUnlockClient {
const std::string& associated_data,
const std::string& public_metadata,
const std::string& verification_key_id,
+ const std::string& decryption_key_id,
const std::string& encryption_type,
const std::string& signature_type,
const DataCallback& callback) OVERRIDE {
@@ -92,6 +93,7 @@ class EasyUnlockClientImpl : public EasyUnlockClient {
AppendStringAsByteArray(associated_data, &writer);
AppendStringAsByteArray(public_metadata, &writer);
AppendStringAsByteArray(verification_key_id, &writer);
+ AppendStringAsByteArray(decryption_key_id, &writer);
writer.AppendString(encryption_type);
writer.AppendString(signature_type);
proxy_->CallMethod(&method_call, dbus::ObjectProxy::TIMEOUT_USE_DEFAULT,

Powered by Google App Engine
This is Rietveld 408576698