Index: chrome/browser/chromeos/bluetooth/bluetooth_service_record.h |
diff --git a/chrome/browser/chromeos/bluetooth/bluetooth_service_record.h b/chrome/browser/chromeos/bluetooth/bluetooth_service_record.h |
index 8e9747049c03cf96e2cb696db8961d3163947607..d49057d17621c85feddfb8f53767d2571f5f89db 100644 |
--- a/chrome/browser/chromeos/bluetooth/bluetooth_service_record.h |
+++ b/chrome/browser/chromeos/bluetooth/bluetooth_service_record.h |
@@ -18,15 +18,23 @@ namespace chromeos { |
// that have been necessary so far. |
class BluetoothServiceRecord { |
public: |
- BluetoothServiceRecord() {} |
+ BluetoothServiceRecord() : supports_rfcomm_(false) {} |
keybuk
2012/04/19 01:05:40
This should move to the .cc file
bryeung
2012/04/19 19:42:43
Done.
|
bool Init(const std::string& xml_data); |
const std::string& name() const { return name_; } |
+ bool SupportsRfcomm() const { return supports_rfcomm_; } |
+ uint8_t rfcomm_channel() const { return rfcomm_channel_; } |
keybuk
2012/04/19 01:05:40
add L2CAP and L2CAP PSM as well?
bryeung
2012/04/19 19:42:43
Can that wait for a future CL? I'm focused on RFC
|
+ |
private: |
+ void ExtractChannels(const std::string& xml_data); |
+ |
std::string name_; |
+ bool supports_rfcomm_; |
+ uint8_t rfcomm_channel_; |
+ |
DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecord); |
}; |