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

Side by Side Diff: chrome/browser/ui/webui/signin/login_ui_service.cc

Issue 2275883003: [Signin Error Dialog] (2/3) Added handlers and UI constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@error-modal-web
Patch Set: Final nit from tommycli Created 4 years, 3 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
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 #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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/signin/login_ui_service.h ('k') | chrome/browser/ui/webui/signin/login_ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698