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

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

Issue 7867044: PART1: Initiated the SignedSettings refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the comments from Denis. Created 9 years, 3 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/parallel_authenticator.cc
diff --git a/chrome/browser/chromeos/login/parallel_authenticator.cc b/chrome/browser/chromeos/login/parallel_authenticator.cc
index 781f0901af078fb9ca0cd905973d8d36056233ef..51c3a1a61c5706e24e8f0c951274dbc51e99a8dd 100644
--- a/chrome/browser/chromeos/login/parallel_authenticator.cc
+++ b/chrome/browser/chromeos/login/parallel_authenticator.cc
@@ -105,7 +105,7 @@ ParallelAuthenticator::ParallelAuthenticator(LoginStatusConsumer* consumer)
ParallelAuthenticator::~ParallelAuthenticator() {}
-bool ParallelAuthenticator::AuthenticateToLogin(
+void ParallelAuthenticator::AuthenticateToLogin(
Profile* profile,
const std::string& username,
const std::string& password,
@@ -143,10 +143,9 @@ bool ParallelAuthenticator::AuthenticateToLogin(
NewRunnableMethod(this,
&ParallelAuthenticator::LoadLocalaccount,
std::string(kLocalaccountFile)));
- return true;
}
-bool ParallelAuthenticator::CompleteLogin(Profile* profile,
+void ParallelAuthenticator::CompleteLogin(Profile* profile,
const std::string& username,
const std::string& password) {
std::string canonicalized = Authenticator::Canonicalize(username);
@@ -188,7 +187,6 @@ bool ParallelAuthenticator::CompleteLogin(Profile* profile,
NewRunnableMethod(this,
&ParallelAuthenticator::LoadLocalaccount,
std::string(kLocalaccountFile)));
- return true;
}
bool ParallelAuthenticator::AuthenticateToUnlock(const std::string& username,

Powered by Google App Engine
This is Rietveld 408576698