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

Side by Side Diff: chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.h

Issue 495563003: Move ParallelAuthnticator to chromeos and rename it to CryptohomeAuthenticator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_
Nikita (slow) 2014/08/21 10:55:24 nit: Update guard
Denis Kuznetsov (DE-MUC) 2014/08/21 11:22:03 Done.
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_
7
8 #include <string>
9
10 #include "chromeos/login/auth/cryptohome_authenticator.h"
11
12 namespace chromeos {
13
14 class ChromeCryptohomeAuthenticator : public CryptohomeAuthenticator {
15 public:
16 explicit ChromeCryptohomeAuthenticator(AuthStatusConsumer* consumer);
17
18 protected:
19 virtual ~ChromeCryptohomeAuthenticator();
20
21 virtual bool IsKnownUser(const UserContext& context) OVERRIDE;
22 virtual bool IsSafeMode() OVERRIDE;
23 virtual void CheckSafeModeOwnership(const UserContext& context,
24 const IsOwnerCallback& callback) OVERRIDE;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ChromeCryptohomeAuthenticator);
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_PARALLEL_AUTHENTICATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698