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

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

Issue 13638033: Fixed crash after terms of service acceptance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 OnResetCanceled(); 801 OnResetCanceled();
802 break; 802 break;
803 case ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED: 803 case ENTERPRISE_AUTO_MAGIC_ENROLLMENT_COMPLETED:
804 OnEnterpriseAutoEnrollmentDone(); 804 OnEnterpriseAutoEnrollmentDone();
805 break; 805 break;
806 case TERMS_OF_SERVICE_DECLINED: 806 case TERMS_OF_SERVICE_DECLINED:
807 OnTermsOfServiceDeclined(); 807 OnTermsOfServiceDeclined();
808 break; 808 break;
809 case TERMS_OF_SERVICE_ACCEPTED: 809 case TERMS_OF_SERVICE_ACCEPTED:
810 OnTermsOfServiceAccepted(); 810 OnTermsOfServiceAccepted();
811 break;
811 case WRONG_HWID_WARNING_SKIPPED: 812 case WRONG_HWID_WARNING_SKIPPED:
812 OnWrongHWIDWarningSkipped(); 813 OnWrongHWIDWarningSkipped();
813 break; 814 break;
814 default: 815 default:
815 NOTREACHED(); 816 NOTREACHED();
816 } 817 }
817 } 818 }
818 819
819 void WizardController::OnSetUserNamePassword(const std::string& username, 820 void WizardController::OnSetUserNamePassword(const std::string& username,
820 const std::string& password) { 821 const std::string& password) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 return zero_delay_enabled_; 855 return zero_delay_enabled_;
855 } 856 }
856 857
857 // static 858 // static
858 void WizardController::SetZeroDelays() { 859 void WizardController::SetZeroDelays() {
859 kShowDelayMs = 0; 860 kShowDelayMs = 0;
860 zero_delay_enabled_ = true; 861 zero_delay_enabled_ = true;
861 } 862 }
862 863
863 } // namespace chromeos 864 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698