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

Side by Side Diff: chrome/browser/chromeos/login/user_flow.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 (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/auth/login_status_consumer.h" 9 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h"
10 #include "chrome/browser/chromeos/login/users/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 UserContext;
16
15 class LoginDisplayHost; 17 class LoginDisplayHost;
16 // Defines possible variants of user flow upon logging in. 18 // Defines possible variants of user flow upon logging in.
17 // See UserManager::SetUserFlow for usage contract. 19 // See UserManager::SetUserFlow for usage contract.
18 class UserFlow { 20 class UserFlow {
19 public: 21 public:
20 UserFlow(); 22 UserFlow();
21 virtual ~UserFlow() = 0; 23 virtual ~UserFlow() = 0;
22 // Indicates if screen locking should be enabled or disabled for a flow. 24 // Indicates if screen locking should be enabled or disabled for a flow.
23 virtual bool CanLockScreen() = 0; 25 virtual bool CanLockScreen() = 0;
24 virtual bool ShouldShowSettings() = 0; 26 virtual bool ShouldShowSettings() = 0;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 return user_id_; 76 return user_id_;
75 } 77 }
76 78
77 private: 79 private:
78 std::string user_id_; 80 std::string user_id_;
79 }; 81 };
80 82
81 } // namespace chromeos 83 } // namespace chromeos
82 84
83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_FLOW_H_ 85 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/login_display.h ('k') | chrome/browser/chromeos/login/users/user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698