summaryrefslogtreecommitdiffstats
path: root/components/pairing/bluetooth_host_pairing_controller.h
diff options
context:
space:
mode:
authorzork <zork@chromium.org>2015-04-30 20:20:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-01 03:20:43 +0000
commit01205e6c626677993322a481beec2a038bf8be57 (patch)
tree2cca5a38eca15350d79e7156e62a806f28def772 /components/pairing/bluetooth_host_pairing_controller.h
parent0a91bd01ecfce5c752ded50c704d971af52db814 (diff)
downloadchromium_src-01205e6c626677993322a481beec2a038bf8be57.zip
chromium_src-01205e6c626677993322a481beec2a038bf8be57.tar.gz
chromium_src-01205e6c626677993322a481beec2a038bf8be57.tar.bz2
Add permanent_id to pairing protocol.
BUG=483304 Review URL: https://codereview.chromium.org/1118173002 Cr-Commit-Position: refs/heads/master@{#327873}
Diffstat (limited to 'components/pairing/bluetooth_host_pairing_controller.h')
-rw-r--r--components/pairing/bluetooth_host_pairing_controller.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/pairing/bluetooth_host_pairing_controller.h b/components/pairing/bluetooth_host_pairing_controller.h
index 20ba506..1873935 100644
--- a/components/pairing/bluetooth_host_pairing_controller.h
+++ b/components/pairing/bluetooth_host_pairing_controller.h
@@ -71,6 +71,7 @@ class BluetoothHostPairingController
std::string GetEnrollmentDomain() override;
void OnUpdateStatusChanged(UpdateStatus update_status) override;
void OnEnrollmentStatusChanged(EnrollmentStatus enrollment_status) override;
+ void SetPermanentId(const std::string& permanent_id) override;
// ProtoDecoder::Observer:
void OnHostStatusMessage(const pairing_api::HostStatus& message) override;
@@ -102,6 +103,7 @@ class BluetoothHostPairingController
std::string enrollment_domain_;
UpdateStatus update_status_;
EnrollmentStatus enrollment_status_;
+ std::string permanent_id_;
scoped_refptr<device::BluetoothAdapter> adapter_;
scoped_refptr<device::BluetoothSocket> service_socket_;