Index: chrome/browser/chromeos/login/user.h |
diff --git a/chrome/browser/chromeos/login/user.h b/chrome/browser/chromeos/login/user.h |
index 7e879c6d2387df57dbb0ee67908afcaaf300b24d..18290a2d37a8589c793b4095f8e8479df83a9945 100644 |
--- a/chrome/browser/chromeos/login/user.h |
+++ b/chrome/browser/chromeos/login/user.h |
@@ -54,8 +54,9 @@ class User { |
// Returns the human name to display for this user. |
string16 GetDisplayName() const; |
- // Returns the account name part of the email. |
- std::string GetAccountName() const; |
+ // Returns the account name part of the email. Use the display form of the |
+ // email if available and use_display_name == true. Otherwise use canonical. |
+ std::string GetAccountName(bool use_display_email) const; |
// The image for this user. |
const gfx::ImageSkia& image() const { return image_; } |