| Index: chrome/browser/signin/signin_error_notifier_ash.cc
|
| diff --git a/chrome/browser/signin/signin_error_notifier_ash.cc b/chrome/browser/signin/signin_error_notifier_ash.cc
|
| index e99e97bd2ae2f9b968ebc0e21d642c903a35f0f0..aae8e7ca5d1d69f4a651a30c812e19203ebc3188 100644
|
| --- a/chrome/browser/signin/signin_error_notifier_ash.cc
|
| +++ b/chrome/browser/signin/signin_error_notifier_ash.cc
|
| @@ -62,6 +62,8 @@ class SigninNotificationDelegate : public NotificationDelegate {
|
| virtual ~SigninNotificationDelegate();
|
|
|
| private:
|
| + void FixSignIn();
|
| +
|
| // Unique id of the notification.
|
| const std::string id_;
|
|
|
| @@ -94,9 +96,22 @@ bool SigninNotificationDelegate::HasClickedListener() {
|
| }
|
|
|
| void SigninNotificationDelegate::Click() {
|
| + FixSignIn();
|
| }
|
|
|
| void SigninNotificationDelegate::ButtonClick(int button_index) {
|
| + FixSignIn();
|
| +}
|
| +
|
| +std::string SigninNotificationDelegate::id() const {
|
| + return id_;
|
| +}
|
| +
|
| +content::WebContents* SigninNotificationDelegate::GetWebContents() const {
|
| + return NULL;
|
| +}
|
| +
|
| +void SigninNotificationDelegate::FixSignIn() {
|
| #if defined(OS_CHROMEOS)
|
| chrome::AttemptUserExit();
|
| #else
|
| @@ -116,14 +131,6 @@ void SigninNotificationDelegate::ButtonClick(int button_index) {
|
| #endif
|
| }
|
|
|
| -std::string SigninNotificationDelegate::id() const {
|
| - return id_;
|
| -}
|
| -
|
| -content::WebContents* SigninNotificationDelegate::GetWebContents() const {
|
| - return NULL;
|
| -}
|
| -
|
| } // namespace
|
|
|
| SigninErrorNotifier::SigninErrorNotifier(SigninErrorController* controller,
|
|
|