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

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

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "build/build_config.h"
10 #include "chrome/browser/signin/easy_unlock_app_manager.h" 11 #include "chrome/browser/signin/easy_unlock_app_manager.h"
11 #include "components/proximity_auth/screenlock_bridge.h" 12 #include "components/proximity_auth/screenlock_bridge.h"
12 #include "components/proximity_auth/switches.h" 13 #include "components/proximity_auth/switches.h"
13 #include "crypto/encryptor.h" 14 #include "crypto/encryptor.h"
14 #include "crypto/symmetric_key.h" 15 #include "crypto/symmetric_key.h"
15 16
16 #if defined(OS_CHROMEOS) 17 #if defined(OS_CHROMEOS)
17 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h" 18 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_key_manager.h"
18 #endif 19 #endif
19 20
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 state_ = STATE_DONE; 186 state_ = STATE_DONE;
186 } 187 }
187 188
188 void EasyUnlockAuthAttempt::Cancel(const AccountId& account_id) { 189 void EasyUnlockAuthAttempt::Cancel(const AccountId& account_id) {
189 state_ = STATE_DONE; 190 state_ = STATE_DONE;
190 191
191 const bool kFailure = false; 192 const bool kFailure = false;
192 finalized_callback_.Run(type_, kFailure, account_id, std::string(), 193 finalized_callback_.Run(type_, kFailure, account_id, std::string(),
193 std::string()); 194 std::string());
194 } 195 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_app_manager_unittest.cc ('k') | chrome/browser/signin/easy_unlock_auth_attempt_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698