OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MANAGED_SUPERVISED_USER_LOGIN_FLOW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_LOGIN_FLOW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_LOGIN_FLOW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_LOGIN_FLOW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "chrome/browser/chromeos/login/extended_authenticator.h" | 12 #include "chrome/browser/chromeos/login/auth/extended_authenticator.h" |
13 #include "chrome/browser/chromeos/login/user_flow.h" | 13 #include "chrome/browser/chromeos/login/user_flow.h" |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
16 | 16 |
17 // UserFlow implementation for signing in locally managed user. | 17 // UserFlow implementation for signing in locally managed user. |
18 class SupervisedUserLoginFlow | 18 class SupervisedUserLoginFlow |
19 : public ExtendedUserFlow, | 19 : public ExtendedUserFlow, |
20 public ExtendedAuthenticator::AuthStatusConsumer { | 20 public ExtendedAuthenticator::AuthStatusConsumer { |
21 public: | 21 public: |
22 explicit SupervisedUserLoginFlow(const std::string& user_id); | 22 explicit SupervisedUserLoginFlow(const std::string& user_id); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 UserContext context_; | 55 UserContext context_; |
56 Profile* profile_; | 56 Profile* profile_; |
57 base::WeakPtrFactory<SupervisedUserLoginFlow> weak_factory_; | 57 base::WeakPtrFactory<SupervisedUserLoginFlow> weak_factory_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(SupervisedUserLoginFlow); | 59 DISALLOW_COPY_AND_ASSIGN(SupervisedUserLoginFlow); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace chromeos | 62 } // namespace chromeos |
63 | 63 |
64 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_LOGIN_FLOW_H_ | 64 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_SUPERVISED_USER_LOGIN_FLOW_H_ |
OLD | NEW |