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 #include "chrome/browser/ui/webui/signin/login_ui_service.h" | 5 #include "chrome/browser/ui/webui/signin/login_ui_service.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/browser/signin/signin_promo.h" | 9 #include "chrome/browser/signin/signin_promo.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 browser->window()->ShowAvatarBubbleFromAvatarButton( | 75 browser->window()->ShowAvatarBubbleFromAvatarButton( |
76 message.empty() ? BrowserWindow::AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN | 76 message.empty() ? BrowserWindow::AVATAR_BUBBLE_MODE_CONFIRM_SIGNIN |
77 : BrowserWindow::AVATAR_BUBBLE_MODE_SHOW_ERROR, | 77 : BrowserWindow::AVATAR_BUBBLE_MODE_SHOW_ERROR, |
78 signin::ManageAccountsParams(), | 78 signin::ManageAccountsParams(), |
79 signin_metrics::AccessPoint::ACCESS_POINT_EXTENSIONS); | 79 signin_metrics::AccessPoint::ACCESS_POINT_EXTENSIONS); |
80 } | 80 } |
81 | 81 |
82 const base::string16& LoginUIService::GetLastLoginResult() { | 82 const base::string16& LoginUIService::GetLastLoginResult() { |
83 return last_login_result_; | 83 return last_login_result_; |
84 } | 84 } |
| 85 |
| 86 const base::string16& LoginUIService::GetLastLoginErrorEmail() { |
| 87 return last_login_error_email_; |
| 88 } |
OLD | NEW |