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_USER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_USER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_USER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/session/user_info.h" | 11 #include "ash/session/user_info.h" |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "chrome/browser/chromeos/login/user_image.h" | 14 #include "chrome/browser/chromeos/login/users/avatar/user_image.h" |
15 #include "third_party/skia/include/core/SkBitmap.h" | 15 #include "third_party/skia/include/core/SkBitmap.h" |
16 #include "ui/gfx/image/image_skia.h" | 16 #include "ui/gfx/image/image_skia.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 | 19 |
20 extern const int kDefaultImagesCount; | 20 extern const int kDefaultImagesCount; |
21 | 21 |
22 // Information that is passed around while authentication is in progress. The | 22 // Information that is passed around while authentication is in progress. The |
23 // credentials may consist of a |user_id|, |password| pair or a GAIA | 23 // credentials may consist of a |user_id|, |password| pair or a GAIA |
24 // |auth_code|. The |user_id_hash| is used to locate the user's home directory | 24 // |auth_code|. The |user_id_hash| is used to locate the user's home directory |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 bool profile_is_created_; | 341 bool profile_is_created_; |
342 | 342 |
343 DISALLOW_COPY_AND_ASSIGN(User); | 343 DISALLOW_COPY_AND_ASSIGN(User); |
344 }; | 344 }; |
345 | 345 |
346 // List of known users. | 346 // List of known users. |
347 typedef std::vector<User*> UserList; | 347 typedef std::vector<User*> UserList; |
348 | 348 |
349 } // namespace chromeos | 349 } // namespace chromeos |
350 | 350 |
351 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_H_ | 351 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_USER_H_ |
OLD | NEW |