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

Unified Diff: components/pairing/bluetooth_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
Index: components/pairing/bluetooth_controller_pairing_controller.cc
diff --git a/components/pairing/bluetooth_controller_pairing_controller.cc b/components/pairing/bluetooth_controller_pairing_controller.cc
index 0af8051af7b8154ee4eee36cbd059510a92912bf..4e687adc187af0a5c5094938aa331daa3b240a0e 100644
--- a/components/pairing/bluetooth_controller_pairing_controller.cc
+++ b/components/pairing/bluetooth_controller_pairing_controller.cc
@@ -348,7 +348,7 @@ void BluetoothControllerPairingController::OnAuthenticationDone(
}
void BluetoothControllerPairingController::StartSession() {
- DCHECK_EQ(current_stage_, STAGE_PAIRING_DONE);
+ DCHECK_EQ(current_stage_, STAGE_HOST_ENROLLMENT_SUCCESS);
ChangeStage(STAGE_FINISHED);
}
@@ -385,7 +385,7 @@ void BluetoothControllerPairingController::CompleteSetup() {
ProtoDecoder::SendCompleteSetup(complete_setup, &size));
SendBuffer(io_buffer, size);
- ChangeStage(STAGE_PAIRING_DONE);
+ ChangeStage(STAGE_HOST_ENROLLMENT_SUCCESS);
}
void BluetoothControllerPairingController::OnConfigureHostMessage(

Powered by Google App Engine
This is Rietveld 408576698