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

Side by Side Diff: chrome/browser/signin/easy_unlock_service_signin_chromeos.cc

Issue 586113003: [Easy signin]Set more permit record data when converting from key device list (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 unified diff | Download patch
« no previous file with comments | « chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698