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

Unified Diff: components/proximity_auth/remote_device_life_cycle_impl.cc

Issue 1356943004: Add RemoteDeviceLoader to create RemoteDevice from CryptAuth data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webui
Patch Set: move RemoteDevice creation in tests to util function Created 5 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: components/proximity_auth/remote_device_life_cycle_impl.cc
diff --git a/components/proximity_auth/remote_device_life_cycle_impl.cc b/components/proximity_auth/remote_device_life_cycle_impl.cc
index 5e57d287e34f813fae891404865d127950089963..a9d2538b0eda6321cd2ac804bbf49dd8733adcff 100644
--- a/components/proximity_auth/remote_device_life_cycle_impl.cc
+++ b/components/proximity_auth/remote_device_life_cycle_impl.cc
@@ -89,7 +89,7 @@ RemoteDeviceLifeCycleImpl::CreateConnectionFinder() {
scoped_ptr<Authenticator> RemoteDeviceLifeCycleImpl::CreateAuthenticator() {
return make_scoped_ptr(new DeviceToDeviceAuthenticator(
- connection_.get(), proximity_auth_client_->GetAccountId(),
+ connection_.get(), remote_device_.user_id,
proximity_auth_client_->CreateSecureMessageDelegate()));
}
« no previous file with comments | « components/proximity_auth/remote_device.cc ('k') | components/proximity_auth/remote_device_life_cycle_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698