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

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

Issue 12686006: Rename GoogleServiceAuthError::None() to AuthErrorNone() and LoginFailure::None() to LoginFailureNo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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/parallel_authenticator.h" 5 #include "chrome/browser/chromeos/login/parallel_authenticator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 case OFFLINE_LOGIN: 833 case OFFLINE_LOGIN:
834 return ONLINE_LOGIN; 834 return ONLINE_LOGIN;
835 default: 835 default:
836 NOTREACHED(); 836 NOTREACHED();
837 return offline_state; 837 return offline_state;
838 } 838 }
839 } 839 }
840 840
841 void ParallelAuthenticator::ResolveLoginCompletionStatus() { 841 void ParallelAuthenticator::ResolveLoginCompletionStatus() {
842 // Shortcut online state resolution process. 842 // Shortcut online state resolution process.
843 current_state_->RecordOnlineLoginStatus(LoginFailure::None()); 843 current_state_->RecordOnlineLoginStatus(LoginFailure::LoginFailureNone());
844 Resolve(); 844 Resolve();
845 } 845 }
846 846
847 void ParallelAuthenticator::SetOwnerState(bool owner_check_finished, 847 void ParallelAuthenticator::SetOwnerState(bool owner_check_finished,
848 bool check_result) { 848 bool check_result) {
849 owner_is_verified_ = owner_check_finished; 849 owner_is_verified_ = owner_check_finished;
850 user_can_login_ = check_result; 850 user_can_login_ = check_result;
851 } 851 }
852 852
853 } // namespace chromeos 853 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698