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

Unified Diff: components/pairing/fake_controller_pairing_controller.cc

Issue 656503005: Replace STAGE_PAIRING_DONE with STAGE_HOST_ENROLLMENT_SUCCESS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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 | « components/pairing/controller_pairing_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pairing/fake_controller_pairing_controller.cc
diff --git a/components/pairing/fake_controller_pairing_controller.cc b/components/pairing/fake_controller_pairing_controller.cc
index 6528061dc436a6f8c136160415c6c7a2abebee56..0d30e06ecaf59d1266a6e39769adf47bac581bf1 100644
--- a/components/pairing/fake_controller_pairing_controller.cc
+++ b/components/pairing/fake_controller_pairing_controller.cc
@@ -219,7 +219,7 @@ void FakeControllerPairingController::OnAuthenticationDone(
}
void FakeControllerPairingController::StartSession() {
- CHECK(current_stage_ == STAGE_PAIRING_DONE);
+ CHECK(current_stage_ == STAGE_HOST_ENROLLMENT_SUCCESS);
ChangeStage(STAGE_FINISHED);
}
@@ -315,7 +315,7 @@ void FakeControllerPairingController::PairingStageChanged(Stage new_stage) {
enrollment_should_fail_ = false;
next_stage = STAGE_HOST_ENROLLMENT_ERROR;
} else {
- next_stage = STAGE_PAIRING_DONE;
+ next_stage = STAGE_HOST_ENROLLMENT_SUCCESS;
}
break;
}
« no previous file with comments | « components/pairing/controller_pairing_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698