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

Unified Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc

Issue 577443004: Revert of Minor cleanup in EasyUnlockClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc
index 1b77c114275dd4c9cfbfbb09122c27c52404b85a..fe3f20ff68023da31c21d158f44b7bc0322e55e8 100644
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_crypto_delegate_stub.cc
@@ -21,20 +21,31 @@
callback.Run("", "");
}
- virtual void PerformECDHKeyAgreement(
- const easy_unlock_private::PerformECDHKeyAgreement::Params& params,
- const DataCallback& callback) OVERRIDE {
+ virtual void PerformECDHKeyAgreement(const std::string& private_key,
+ const std::string& public_key,
+ const DataCallback& callback) OVERRIDE {
callback.Run("");
}
virtual void CreateSecureMessage(
- const easy_unlock_private::CreateSecureMessage::Params& params,
+ const std::string& payload,
+ const std::string& key,
+ const std::string& associated_data,
+ const std::string& public_metadata,
+ const std::string& verification_key_id,
+ const std::string& decryption_key_id,
+ easy_unlock_private::EncryptionType encryption_type,
+ easy_unlock_private::SignatureType signature_type,
const DataCallback& callback) OVERRIDE {
callback.Run("");
}
virtual void UnwrapSecureMessage(
- const easy_unlock_private::UnwrapSecureMessage::Params& params,
+ const std::string& message,
+ const std::string& key,
+ const std::string& associated_data,
+ easy_unlock_private::EncryptionType encryption_type,
+ easy_unlock_private::SignatureType signature_type,
const DataCallback& callback) OVERRIDE {
callback.Run("");
}

Powered by Google App Engine
This is Rietveld 408576698