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

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

Issue 2552473002: Display error message when user try to open a locked supervised user profile when force-sign-in is … (Closed)
Patch Set: sky's comments Created 4 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/inline_login_handler.h" 5 #include "chrome/browser/ui/webui/signin/inline_login_handler.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 browser->signin_view_controller()->delegate()->PerformNavigation(); 278 browser->signin_view_controller()->delegate()->PerformNavigation();
279 } 279 }
280 280
281 void InlineLoginHandler::HandleDialogClose(const base::ListValue* args) { 281 void InlineLoginHandler::HandleDialogClose(const base::ListValue* args) {
282 Browser* browser = signin::GetDesktopBrowser(web_ui()); 282 Browser* browser = signin::GetDesktopBrowser(web_ui());
283 // If the dialog was opened in the User Manager browser will be null here. 283 // If the dialog was opened in the User Manager browser will be null here.
284 if (browser) 284 if (browser)
285 browser->CloseModalSigninWindow(); 285 browser->CloseModalSigninWindow();
286 286
287 // Does nothing if user manager is not showing. 287 // Does nothing if user manager is not showing.
288 UserManager::HideReauthDialog(); 288 UserManagerProfileDialog::HideDialog();
289 } 289 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/profile_helper.cc ('k') | chrome/browser/ui/webui/signin/login_ui_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698