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

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

Issue 271533004: Turning on MultiProfile by default for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 231
232 // Sets a stub image until the next |SetImage| call. |image_index| may be 232 // Sets a stub image until the next |SetImage| call. |image_index| may be
233 // one of |kExternalImageIndex| or |kProfileImageIndex|. 233 // one of |kExternalImageIndex| or |kProfileImageIndex|.
234 // If |is_loading| is |true|, that means user image is being loaded from file. 234 // If |is_loading| is |true|, that means user image is being loaded from file.
235 void SetStubImage(int image_index, bool is_loading); 235 void SetStubImage(int image_index, bool is_loading);
236 236
237 void set_display_name(const base::string16& display_name) { 237 void set_display_name(const base::string16& display_name) {
238 display_name_ = display_name; 238 display_name_ = display_name;
239 } 239 }
240 240
241 void set_given_name(const base::string16& given_name) { given_name_ = given_na me; } 241 void set_given_name(const base::string16& given_name) {
242 given_name_ = given_name;
243 }
242 244
243 void set_display_email(const std::string& display_email) { 245 void set_display_email(const std::string& display_email) {
244 display_email_ = display_email; 246 display_email_ = display_email;
245 } 247 }
246 248
247 const UserImage& user_image() const { return user_image_; } 249 const UserImage& user_image() const { return user_image_; }
248 250
249 void set_oauth_token_status(OAuthTokenStatus status) { 251 void set_oauth_token_status(OAuthTokenStatus status) {
250 oauth_token_status_ = status; 252 oauth_token_status_ = status;
251 } 253 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 322
321 DISALLOW_COPY_AND_ASSIGN(User); 323 DISALLOW_COPY_AND_ASSIGN(User);
322 }; 324 };
323 325
324 // List of known users. 326 // List of known users.
325 typedef std::vector<User*> UserList; 327 typedef std::vector<User*> UserList;
326 328
327 } // namespace chromeos 329 } // namespace chromeos
328 330
329 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_H_ 331 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils_browsertest.cc ('k') | chrome/browser/chromeos/login/user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698