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

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

Issue 290513003: Move UserContext to its own file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_EXTENDED_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_EXTENDED_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_EXTENDED_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_EXTENDED_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "chrome/browser/chromeos/login/users/user.h"
16 #include "chromeos/cryptohome/cryptohome_parameters.h" 15 #include "chromeos/cryptohome/cryptohome_parameters.h"
17 #include "third_party/cros_system_api/dbus/service_constants.h" 16 #include "third_party/cros_system_api/dbus/service_constants.h"
18 17
19 namespace chromeos { 18 namespace chromeos {
20 19
21 class LoginStatusConsumer; 20 class LoginStatusConsumer;
21 class UserContext;
22 22
23 // Interaction with cryptohome : mounting home dirs, create new home dirs, 23 // Interaction with cryptohome : mounting home dirs, create new home dirs,
24 // udpate passwords. 24 // udpate passwords.
25 // 25 //
26 // Typical flow: 26 // Typical flow:
27 // AuthenticateToMount() calls a Cryptohome to perform offline login, 27 // AuthenticateToMount() calls a Cryptohome to perform offline login,
28 // AuthenticateToCreate() calls a Cryptohome to create new cryptohome. 28 // AuthenticateToCreate() calls a Cryptohome to create new cryptohome.
29 class ExtendedAuthenticator 29 class ExtendedAuthenticator
30 : public base::RefCountedThreadSafe<ExtendedAuthenticator> { 30 : public base::RefCountedThreadSafe<ExtendedAuthenticator> {
31 public: 31 public:
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 AuthStatusConsumer* consumer_; 177 AuthStatusConsumer* consumer_;
178 LoginStatusConsumer* old_consumer_; 178 LoginStatusConsumer* old_consumer_;
179 179
180 DISALLOW_COPY_AND_ASSIGN(ExtendedAuthenticator); 180 DISALLOW_COPY_AND_ASSIGN(ExtendedAuthenticator);
181 }; 181 };
182 182
183 } // namespace chromeos 183 } // namespace chromeos
184 184
185 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_EXTENDED_AUTHENTICATOR_H_ 185 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_EXTENDED_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/auth/auth_attempt_state.h ('k') | chrome/browser/chromeos/login/auth/extended_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698