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

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

Issue 1096293003: Move screenlock_bridge to components/proximity_auth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linux build Created 5 years, 8 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
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_auth_attempt.h" 5 #include "chrome/browser/signin/easy_unlock_auth_attempt.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/signin/easy_unlock_app_manager.h" 9 #include "chrome/browser/signin/easy_unlock_app_manager.h"
10 #include "chrome/browser/signin/screenlock_bridge.h" 10 #include "components/signin/content/screenlock_bridge.h"
11 #include "crypto/encryptor.h" 11 #include "crypto/encryptor.h"
12 #include "crypto/symmetric_key.h" 12 #include "crypto/symmetric_key.h"
13 13
14 #if defined(OS_CHROMEOS) 14 #if defined(OS_CHROMEOS)
15 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h" 15 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h"
16 #endif 16 #endif
17 17
18 namespace { 18 namespace {
19 19
20 // Decrypts the secret that should be used to login from |wrapped_secret| using 20 // Decrypts the secret that should be used to login from |wrapped_secret| using
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 state_ = STATE_DONE; 170 state_ = STATE_DONE;
171 } 171 }
172 172
173 void EasyUnlockAuthAttempt::Cancel(const std::string& user_id) { 173 void EasyUnlockAuthAttempt::Cancel(const std::string& user_id) {
174 state_ = STATE_DONE; 174 state_ = STATE_DONE;
175 175
176 const bool kFailure = false; 176 const bool kFailure = false;
177 finalized_callback_.Run(type_, kFailure, user_id, std::string(), 177 finalized_callback_.Run(type_, kFailure, user_id, std::string(),
178 std::string()); 178 std::string());
179 } 179 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698