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

Unified Diff: components/pairing/bluetooth_host_pairing_controller.h

Issue 652743003: Fix update and enrollment flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: indent 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_host_pairing_controller.h
diff --git a/components/pairing/bluetooth_host_pairing_controller.h b/components/pairing/bluetooth_host_pairing_controller.h
index edc39faf3cf4e51cfff01729d1b492ce2786ee26..5a1dc7443adcab59344044a8951b8431fe2a561a 100644
--- a/components/pairing/bluetooth_host_pairing_controller.h
+++ b/components/pairing/bluetooth_host_pairing_controller.h
@@ -70,7 +70,8 @@ class BluetoothHostPairingController
virtual std::string GetConfirmationCode() override;
virtual std::string GetEnrollmentDomain() override;
virtual void OnUpdateStatusChanged(UpdateStatus update_status) override;
- virtual void SetEnrollmentComplete(bool success) override;
+ virtual void OnEnrollmentStatusChanged(
+ EnrollmentStatus enrollment_status) override;
// ProtoDecoder::Observer:
virtual void OnHostStatusMessage(
@@ -104,6 +105,8 @@ class BluetoothHostPairingController
std::string device_name_;
std::string confirmation_code_;
std::string enrollment_domain_;
+ UpdateStatus update_status_;
+ EnrollmentStatus enrollment_status_;
scoped_refptr<device::BluetoothAdapter> adapter_;
device::BluetoothDevice* device_;
« no previous file with comments | « components/pairing/bluetooth_controller_pairing_controller.cc ('k') | components/pairing/bluetooth_host_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698