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

Unified Diff: components/proximity_auth/cryptauth/cryptauth_api_call_flow.cc

Issue 738593002: Introduce CryptAuthClient, a class capable of performing all CryptAuth APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: components/proximity_auth/cryptauth/cryptauth_api_call_flow.cc
diff --git a/components/proximity_auth/cryptauth/cryptauth_api_call_flow.cc b/components/proximity_auth/cryptauth/cryptauth_api_call_flow.cc
index 05acd5c19ebf84b7ab658760e4870b4ecc50b367..399b949200f1d311b3c16332abe2716ad6a4c7d9 100644
--- a/components/proximity_auth/cryptauth/cryptauth_api_call_flow.cc
+++ b/components/proximity_auth/cryptauth/cryptauth_api_call_flow.cc
@@ -27,8 +27,8 @@ CryptAuthApiCallFlow::~CryptAuthApiCallFlow() {
void CryptAuthApiCallFlow::Start(net::URLRequestContextGetter* context,
const std::string& access_token,
const std::string& serialized_request,
- ResultCallback result_callback,
- ErrorCallback error_callback) {
+ const ResultCallback& result_callback,
+ const ErrorCallback& error_callback) {
serialized_request_ = serialized_request;
result_callback_ = result_callback;
error_callback_ = error_callback;

Powered by Google App Engine
This is Rietveld 408576698