OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/signin/easy_unlock_service_signin_chromeos.h" | 5 #include "chrome/browser/signin/easy_unlock_service_signin_chromeos.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 const chromeos::EasyUnlockDeviceKeyDataList& devices) { | 120 const chromeos::EasyUnlockDeviceKeyDataList& devices) { |
121 if (!success) { | 121 if (!success) { |
122 LOG(WARNING) << "Easy unlock cryptohome keys not found for user " | 122 LOG(WARNING) << "Easy unlock cryptohome keys not found for user " |
123 << user_id_; | 123 << user_id_; |
124 return; | 124 return; |
125 } | 125 } |
126 | 126 |
127 remote_devices_ = devices; | 127 remote_devices_ = devices; |
128 remote_devices_value_.reset(new base::ListValue); | 128 remote_devices_value_.reset(new base::ListValue); |
129 chromeos::EasyUnlockKeyManager::DeviceDataListToRemoteDeviceList( | 129 chromeos::EasyUnlockKeyManager::DeviceDataListToRemoteDeviceList( |
130 remote_devices_, remote_devices_value_.get()); | 130 user_id_, remote_devices_, remote_devices_value_.get()); |
131 | 131 |
132 UpdateAppState(); | 132 UpdateAppState(); |
133 } | 133 } |
OLD | NEW |