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

Unified Diff: chromeos/login/auth/login_performer.cc

Issue 2886913005: Rename TaskRunner::RunsTasksOnCurrentThread() in //dbus, //chromeos, //ppapi (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « chromeos/login/auth/cryptohome_authenticator.cc ('k') | dbus/bus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/auth/login_performer.cc
diff --git a/chromeos/login/auth/login_performer.cc b/chromeos/login/auth/login_performer.cc
index 405d1234a327ee8cdd191f458724a4696f26e0db..05b0e3f618dbcac06c919c8dbc2efa22ea80f239 100644
--- a/chromeos/login/auth/login_performer.cc
+++ b/chromeos/login/auth/login_performer.cc
@@ -53,7 +53,7 @@ LoginPerformer::~LoginPerformer() {
// LoginPerformer, AuthStatusConsumer implementation:
void LoginPerformer::OnAuthFailure(const AuthFailure& failure) {
- DCHECK(task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(task_runner_->RunsTasksInCurrentSequence());
base::RecordAction(UserMetricsAction("Login_Failure"));
UMA_HISTOGRAM_ENUMERATION("Login.FailureReason",
@@ -77,7 +77,7 @@ void LoginPerformer::OnAuthFailure(const AuthFailure& failure) {
}
void LoginPerformer::OnAuthSuccess(const UserContext& user_context) {
- DCHECK(task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(task_runner_->RunsTasksInCurrentSequence());
base::RecordAction(UserMetricsAction("Login_Success"));
// Do not distinguish between offline and online success.
@@ -93,7 +93,7 @@ void LoginPerformer::OnAuthSuccess(const UserContext& user_context) {
}
void LoginPerformer::OnOffTheRecordAuthSuccess() {
- DCHECK(task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(task_runner_->RunsTasksInCurrentSequence());
base::RecordAction(UserMetricsAction("Login_GuestLoginSuccess"));
if (delegate_)
@@ -114,7 +114,7 @@ void LoginPerformer::OnPasswordChangeDetected() {
void LoginPerformer::OnOldEncryptionDetected(const UserContext& user_context,
bool has_incomplete_migration) {
- DCHECK(task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(task_runner_->RunsTasksInCurrentSequence());
if (delegate_)
delegate_->OnOldEncryptionDetected(user_context, has_incomplete_migration);
« no previous file with comments | « chromeos/login/auth/cryptohome_authenticator.cc ('k') | dbus/bus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698