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

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

Issue 789793005: Revert of Clean up Smart Lock cryptohome keys logic: (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 unified diff | Download patch
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/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 if (!data) 131 if (!data)
132 return NULL; 132 return NULL;
133 return &data->remote_devices_value; 133 return &data->remote_devices_value;
134 } 134 }
135 135
136 void EasyUnlockServiceSignin::SetRemoteDevices( 136 void EasyUnlockServiceSignin::SetRemoteDevices(
137 const base::ListValue& devices) { 137 const base::ListValue& devices) {
138 NOTREACHED(); 138 NOTREACHED();
139 } 139 }
140 140
141 void EasyUnlockServiceSignin::ClearRemoteDevices() {
142 NOTREACHED();
143 }
144
141 void EasyUnlockServiceSignin::RunTurnOffFlow() { 145 void EasyUnlockServiceSignin::RunTurnOffFlow() {
142 NOTREACHED(); 146 NOTREACHED();
143 } 147 }
144 148
145 void EasyUnlockServiceSignin::ResetTurnOffFlow() { 149 void EasyUnlockServiceSignin::ResetTurnOffFlow() {
146 NOTREACHED(); 150 NOTREACHED();
147 } 151 }
148 152
149 EasyUnlockService::TurnOffFlowStatus 153 EasyUnlockService::TurnOffFlowStatus
150 EasyUnlockServiceSignin::GetTurnOffFlowStatus() const { 154 EasyUnlockServiceSignin::GetTurnOffFlowStatus() const {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 return NULL; 388 return NULL;
385 389
386 std::map<std::string, UserData*>::const_iterator it = 390 std::map<std::string, UserData*>::const_iterator it =
387 user_data_.find(user_id_); 391 user_data_.find(user_id_);
388 if (it == user_data_.end()) 392 if (it == user_data_.end())
389 return NULL; 393 return NULL;
390 if (it->second->state != USER_DATA_STATE_LOADED) 394 if (it->second->state != USER_DATA_STATE_LOADED)
391 return NULL; 395 return NULL;
392 return it->second; 396 return it->second;
393 } 397 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_signin_chromeos.h ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698