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

Unified Diff: device/u2f/u2f_register.h

Issue 2839043002: Pass u2f message callback vector as a const reference (Closed)
Patch Set: Change response callback to const ref Created 3 years, 8 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
« no previous file with comments | « device/u2f/u2f_device.h ('k') | device/u2f/u2f_register.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/u2f/u2f_register.h
diff --git a/device/u2f/u2f_register.h b/device/u2f/u2f_register.h
index 466127ed44f12aab7155a0fe5f576a484eb486c7..7b7769ec627663f26ad51e820e597884c8ab358c 100644
--- a/device/u2f/u2f_register.h
+++ b/device/u2f/u2f_register.h
@@ -25,7 +25,8 @@ class U2fRegister : public U2fRequest {
private:
void TryDevice() override;
- void OnTryDevice(U2fReturnCode, std::vector<uint8_t>);
+ void OnTryDevice(U2fReturnCode return_code,
+ const std::vector<uint8_t>& response_data);
std::vector<uint8_t> challenge_hash_;
std::vector<uint8_t> app_param_;
« no previous file with comments | « device/u2f/u2f_device.h ('k') | device/u2f/u2f_register.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698