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

Side by Side Diff: chrome/browser/chromeos/login/user_flow.h

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests 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 (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_USER_FLOW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_FLOW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_FLOW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_FLOW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/chromeos/login/login_status_consumer.h" 9 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h"
10 #include "chrome/browser/chromeos/login/user.h" 10 #include "chrome/browser/chromeos/login/users/user.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 class LoginDisplayHost; 15 class LoginDisplayHost;
16 // Defines possible variants of user flow upon logging in. 16 // Defines possible variants of user flow upon logging in.
17 // See UserManager::SetUserFlow for usage contract. 17 // See UserManager::SetUserFlow for usage contract.
18 class UserFlow { 18 class UserFlow {
19 public: 19 public:
20 UserFlow(); 20 UserFlow();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 explicit ExtendedUserFlow(const std::string& user_id); 65 explicit ExtendedUserFlow(const std::string& user_id);
66 virtual ~ExtendedUserFlow(); 66 virtual ~ExtendedUserFlow();
67 67
68 virtual bool ShouldShowSettings() OVERRIDE; 68 virtual bool ShouldShowSettings() OVERRIDE;
69 69
70 protected: 70 protected:
71 // Subclasses can call this method to unregister flow in the next event. 71 // Subclasses can call this method to unregister flow in the next event.
72 virtual void UnregisterFlowSoon(); 72 virtual void UnregisterFlowSoon();
73 std::string user_id() { 73 std::string user_id() {
74 return user_id_; 74 return user_id_;
75 }; 75 }
76 76
77 private: 77 private:
78 std::string user_id_; 78 std::string user_id_;
79 }; 79 };
80 80
81 } // namespace chromeos 81 } // namespace chromeos
82 82
83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_FLOW_H_ 83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_adding_screen_browsertest.cc ('k') | chrome/browser/chromeos/login/user_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698