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

Side by Side Diff: chrome/browser/chromeos/login/users/fake_user_manager.h

Issue 376193002: Move UserImage to user_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_USERS_FAKE_USER_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_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_flow.h" 12 #include "chrome/browser/chromeos/login/user_flow.h"
13 #include "chrome/browser/chromeos/login/users/avatar/user_image.h"
14 #include "chrome/browser/chromeos/login/users/user.h" 13 #include "chrome/browser/chromeos/login/users/user.h"
15 #include "chrome/browser/chromeos/login/users/user_manager.h" 14 #include "chrome/browser/chromeos/login/users/user_manager.h"
15 #include "components/user_manager/user_image/user_image.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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // active user. 136 // active user.
137 std::string active_user_id_; 137 std::string active_user_id_;
138 MultiProfileUserController* multi_profile_user_controller_; 138 MultiProfileUserController* multi_profile_user_controller_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(FakeUserManager); 140 DISALLOW_COPY_AND_ASSIGN(FakeUserManager);
141 }; 141 };
142 142
143 } // namespace chromeos 143 } // namespace chromeos
144 144
145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_ 145 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_FAKE_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698