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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 678973003: Removed unused ScreenObserver::OnSetUsernamePassword() method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/chromeos/login/wizard_controller.h" 5 #include "chrome/browser/chromeos/login/wizard_controller.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 OnHostPairingFinished(); 1012 OnHostPairingFinished();
1013 break; 1013 break;
1014 case DEVICE_NOT_DISABLED: 1014 case DEVICE_NOT_DISABLED:
1015 OnDeviceNotDisabled(); 1015 OnDeviceNotDisabled();
1016 break; 1016 break;
1017 default: 1017 default:
1018 NOTREACHED(); 1018 NOTREACHED();
1019 } 1019 }
1020 } 1020 }
1021 1021
1022 void WizardController::OnSetUserNamePassword(const std::string& username,
1023 const std::string& password) {
1024 username_ = username;
1025 password_ = password;
1026 }
1027
1028 void WizardController::ShowErrorScreen() { 1022 void WizardController::ShowErrorScreen() {
1029 VLOG(1) << "Showing error screen."; 1023 VLOG(1) << "Showing error screen.";
1030 SetCurrentScreen(GetScreen(kErrorScreenName)); 1024 SetCurrentScreen(GetScreen(kErrorScreenName));
1031 } 1025 }
1032 1026
1033 void WizardController::HideErrorScreen(BaseScreen* parent_screen) { 1027 void WizardController::HideErrorScreen(BaseScreen* parent_screen) {
1034 DCHECK(parent_screen); 1028 DCHECK(parent_screen);
1035 VLOG(1) << "Hiding error screen."; 1029 VLOG(1) << "Hiding error screen.";
1036 SetCurrentScreen(parent_screen); 1030 SetCurrentScreen(parent_screen);
1037 } 1031 }
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 if (accepted_eula) // Always true. 1296 if (accepted_eula) // Always true.
1303 StartupUtils::MarkEulaAccepted(); 1297 StartupUtils::MarkEulaAccepted();
1304 SetUsageStatisticsReporting(send_reports); 1298 SetUsageStatisticsReporting(send_reports);
1305 NetworkScreenActor* network_actor = oobe_display_->GetNetworkScreenActor(); 1299 NetworkScreenActor* network_actor = oobe_display_->GetNetworkScreenActor();
1306 network_actor->SetApplicationLocale(lang); 1300 network_actor->SetApplicationLocale(lang);
1307 network_actor->SetTimezone(timezone); 1301 network_actor->SetTimezone(timezone);
1308 network_actor->SetInputMethod(keyboard_layout); 1302 network_actor->SetInputMethod(keyboard_layout);
1309 } 1303 }
1310 1304
1311 } // namespace chromeos 1305 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698