summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-22 21:10:24 +0000
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-22 21:10:24 +0000
commit75a8ac4b7c152287c213adc9ec249055917fcc78 (patch)
tree7c7d157f362f47416d7aff749978afa33073522b /device
parent56b39abd5c0605aadb5142be87c9212b734c97e2 (diff)
downloadchromium_src-75a8ac4b7c152287c213adc9ec249055917fcc78.zip
chromium_src-75a8ac4b7c152287c213adc9ec249055917fcc78.tar.gz
chromium_src-75a8ac4b7c152287c213adc9ec249055917fcc78.tar.bz2
Add missing BluetoothProfile::Options::auto_connect
BUG=229636 TEST=none Review URL: https://codereview.chromium.org/14347005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_profile.cc1
-rw-r--r--device/bluetooth/bluetooth_profile.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_profile.cc b/device/bluetooth/bluetooth_profile.cc
index b6d420b..320979d 100644
--- a/device/bluetooth/bluetooth_profile.cc
+++ b/device/bluetooth/bluetooth_profile.cc
@@ -13,6 +13,7 @@ BluetoothProfile::Options::Options()
psm(0),
require_authentication(false),
require_authorization(false),
+ auto_connect(false),
version(0),
features(0) {
}
diff --git a/device/bluetooth/bluetooth_profile.h b/device/bluetooth/bluetooth_profile.h
index ecc437c..59a2fb2 100644
--- a/device/bluetooth/bluetooth_profile.h
+++ b/device/bluetooth/bluetooth_profile.h
@@ -53,6 +53,11 @@ class BluetoothProfile {
// Defaults to false.
bool require_authorization;
+ // Specifies whether this profile will be automatically connected if any
+ // other profile of a device conects to the host.
+ // Defaults to false.
+ bool auto_connect;
+
// Implemented version of the profile.
// Exported in the adapter's SDP or GATT tables where relevant.
uint16 version;