| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LOCALLY_MANAGED_USER_LOGIN_FLOW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_LOGIN_FLOW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_LOGIN_FLOW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_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/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "chrome/browser/chromeos/login/user_flow.h" | 11 #include "chrome/browser/chromeos/login/user_flow.h" |
| 12 | 12 |
| 13 namespace chromeos { | 13 namespace chromeos { |
| 14 | 14 |
| 15 // UserFlow implementation for signing in locally managed user. | 15 // UserFlow implementation for signing in locally managed user. |
| 16 class LocallyManagedUserLoginFlow : public ExtendedUserFlow { | 16 class LocallyManagedUserLoginFlow : public ExtendedUserFlow { |
| 17 public: | 17 public: |
| 18 explicit LocallyManagedUserLoginFlow(const std::string& user_id); | 18 explicit LocallyManagedUserLoginFlow(const std::string& user_id); |
| 19 virtual ~LocallyManagedUserLoginFlow(); | 19 virtual ~LocallyManagedUserLoginFlow(); |
| 20 | 20 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 36 bool data_loaded_; | 36 bool data_loaded_; |
| 37 Profile* profile_; | 37 Profile* profile_; |
| 38 base::WeakPtrFactory<LocallyManagedUserLoginFlow> weak_factory_; | 38 base::WeakPtrFactory<LocallyManagedUserLoginFlow> weak_factory_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserLoginFlow); | 40 DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserLoginFlow); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace chromeos | 43 } // namespace chromeos |
| 44 | 44 |
| 45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_LOGIN_FLOW
_H_ | 45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_LOGIN_FLOW
_H_ |
| OLD | NEW |