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

Side by Side Diff: chrome/browser/chromeos/login/users/fake_user_manager.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 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_FAKE_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/chromeos/login/user.h"
13 #include "chrome/browser/chromeos/login/user_flow.h" 12 #include "chrome/browser/chromeos/login/user_flow.h"
14 #include "chrome/browser/chromeos/login/user_image.h" 13 #include "chrome/browser/chromeos/login/users/avatar/user_image.h"
15 #include "chrome/browser/chromeos/login/user_manager.h" 14 #include "chrome/browser/chromeos/login/users/user.h"
15 #include "chrome/browser/chromeos/login/users/user_manager.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 class FakeSupervisedUserManager; 19 class FakeSupervisedUserManager;
20 20
21 // Fake user manager with a barebones implementation. Users can be added 21 // Fake user manager with a barebones implementation. Users can be added
22 // and set as logged in, and those users can be returned. 22 // and set as logged in, and those users can be returned.
23 class FakeUserManager : public UserManager { 23 class FakeUserManager : public UserManager {
24 public: 24 public:
25 FakeUserManager(); 25 FakeUserManager();
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 // If set this is the active user. If empty, the first created user is the 149 // If set this is the active user. If empty, the first created user is the
150 // active user. 150 // active user.
151 std::string active_user_id_; 151 std::string active_user_id_;
152 152
153 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 153 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
154 }; 154 };
155 155
156 } // namespace chromeos 156 } // namespace chromeos
157 157
158 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_FAKE_USER_MANAGER_H_ 158 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698