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

Issue 7982025: Made Authenticator::CompleteLogin, AuthenticateToLogin and AuthenticateToUnlock return void. (Closed)

Created:
9 years, 3 months ago by pastarmovj
Modified:
9 years, 3 months ago
CC:
chromium-reviews, davemoore+watch_chromium.org, stevenjb, nkostylev+cc_chromium.org
Visibility:
Public.

Description

Made Authenticator::CompleteLogin, AuthenticateToLogin and AuthenticateToUnlock return void. They were anyhow hardcoded to return true and didn't play nicely with base::Bind. The result of an authentication is being reported through the callbacks OnLoginSuccess and OnLoginFailure. BUG=chromium-os:14054 TEST=Everything should compile. browser_tests should be still passing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102118

Patch Set 1 #

Patch Set 2 : Added AuthenticateToUnlock to the CL. It has the same semantics. #

Patch Set 3 : One more obsolete comment fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -43 lines) Patch
M chrome/browser/chromeos/login/authenticator.h View 1 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.h View 1 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/google_authenticator.cc View 1 4 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/mock_authenticator.h View 1 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/mock_authenticator.cc View 1 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator.h View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator.cc View 1 4 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
pastarmovj
This turned out while working on the bigger refactoring CL you reviewed yesterday. I thought ...
9 years, 3 months ago (2011-09-21 12:15:47 UTC) #1
Denis Lagno
LGTM
9 years, 3 months ago (2011-09-21 13:14:45 UTC) #2
commit-bot: I haz the power
9 years, 3 months ago (2011-09-21 17:00:43 UTC) #3
Change committed as 102118

Powered by Google App Engine
This is Rietveld 408576698