| 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
|
| deleted file mode 100644
|
| index 2e43d72a732a39347ecd6d2a38075a6c46467d7a..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/bluetooth/bluetooth_service_record.h
|
| +++ /dev/null
|
| @@ -1,59 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_
|
| -#define CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/basictypes.h"
|
| -
|
| -class XmlReader;
|
| -
|
| -namespace chromeos {
|
| -
|
| -// BluetoothServiceRecord represents an SDP service record.
|
| -//
|
| -// This implementation is currently incomplete: it only supports those fields
|
| -// that have been necessary so far.
|
| -class BluetoothServiceRecord {
|
| - public:
|
| - BluetoothServiceRecord(
|
| - const std::string& address,
|
| - const std::string& xml_data);
|
| -
|
| - // The human-readable name of this service.
|
| - const std::string& name() const { return name_; }
|
| -
|
| - // The address of the BluetoothDevice providing this service.
|
| - const std::string& address() const { return address_; }
|
| -
|
| - // The UUID of the service. This field may be empty if no UUID was
|
| - // specified in the service record.
|
| - const std::string& uuid() const { return uuid_; }
|
| -
|
| - // Indicates if this service supports RFCOMM communication.
|
| - bool SupportsRfcomm() const { return supports_rfcomm_; }
|
| -
|
| - // The RFCOMM channel to use, if this service supports RFCOMM communication.
|
| - // The return value is undefined if SupportsRfcomm() returns false.
|
| - uint8_t rfcomm_channel() const { return rfcomm_channel_; }
|
| -
|
| - private:
|
| - void ExtractChannels(XmlReader* reader);
|
| - void ExtractUuid(XmlReader* reader);
|
| -
|
| - std::string address_;
|
| - std::string name_;
|
| - std::string uuid_;
|
| -
|
| - bool supports_rfcomm_;
|
| - uint8_t rfcomm_channel_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(BluetoothServiceRecord);
|
| -};
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_BLUETOOTH_BLUETOOTH_SERVICE_RECORD_H_
|
|
|