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

Side by Side Diff: chrome/browser/chromeos/login/quick_unlock/pin_authentication.h

Issue 1977923002: Implement pin storage backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 4 years, 7 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_PIN_AUTHENTICATION_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_PIN_AUTHENTICATION_H_
7
8 #include <string>
9
10 namespace chromeos {
11
12 class PinStorage;
13
14 // Is PIN entry available for the given user?
15 bool IsPinAvailable(PinStorage* storage);
achuithb 2016/05/13 23:34:56 These should be in a new namespace nested in chrom
stevenjb 2016/05/16 16:33:34 +1
jdufault 2016/05/16 22:08:47 I wanted to keep them separate because conceptuall
16
17 // Returns true if the given PIN is valid and the user is allowed to submit a
18 // PIN (ie, no auth attempt will be made if IsPinAvailable returns false).
19 bool IsValidPin(PinStorage* storage, const std::string& raw_pin);
20
21 } // namespace chromeos
22
23 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_PIN_AUTHENTICATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698