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

Unified Diff: chrome/browser/chromeos/login/webui_login_display.cc

Issue 289013002: cros: Clean up screenlockPrivate plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test compile Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/webui_login_display.cc
diff --git a/chrome/browser/chromeos/login/webui_login_display.cc b/chrome/browser/chromeos/login/webui_login_display.cc
index 18b96091cc0f4ef4203756fd45f0a7f35f60750e..4d4dcf65d76bd8200dba5dc425bf90f986f6783d 100644
--- a/chrome/browser/chromeos/login/webui_login_display.cc
+++ b/chrome/browser/chromeos/login/webui_login_display.cc
@@ -126,43 +126,6 @@ void WebUILoginDisplay::SetUIEnabled(bool is_enabled) {
void WebUILoginDisplay::SelectPod(int index) {
}
-void WebUILoginDisplay::ShowBannerMessage(const std::string& message) {
- if (!webui_handler_)
- return;
- webui_handler_->ShowBannerMessage(message);
-}
-
-void WebUILoginDisplay::ShowUserPodButton(
- const std::string& username,
- const std::string& iconURL,
- const base::Closure& click_callback) {
- if (!webui_handler_)
- return;
- webui_handler_->ShowUserPodButton(username, iconURL, click_callback);
-}
-
-void WebUILoginDisplay::HideUserPodButton(const std::string& username) {
- if (!webui_handler_)
- return;
- webui_handler_->HideUserPodButton(username);
-}
-
-void WebUILoginDisplay::SetAuthType(const std::string& username,
- AuthType auth_type,
- const std::string& initial_value) {
- if (!webui_handler_)
- return;
- webui_handler_->SetAuthType(username, auth_type, initial_value);
-}
-
-LoginDisplay::AuthType WebUILoginDisplay::GetAuthType(
- const std::string& username) const {
- // Return default auth type if WebUI hander is not ready.
- if (!webui_handler_)
- return OFFLINE_PASSWORD;
- return webui_handler_->GetAuthType(username);
-}
-
void WebUILoginDisplay::ShowError(int error_msg_id,
int login_attempts,
HelpAppLauncher::HelpTopic help_topic_id) {

Powered by Google App Engine
This is Rietveld 408576698