a102bf5069a769964e082f63e6f0658e473ce7c8
[platform/framework/web/crosswalk.git] / src / device / bluetooth / bluetooth_profile_win.h
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_PROFILE_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_PROFILE_WIN_H_
7
8 #include <string>
9
10 #include "device/bluetooth/bluetooth_profile.h"
11
12 namespace device {
13
14 class BluetoothDeviceWin;
15
16 class BluetoothProfileWin : public BluetoothProfile {
17  public:
18   // BluetoothProfile override.
19   virtual void Unregister() OVERRIDE;
20   virtual void SetConnectionCallback(
21       const ConnectionCallback& callback) OVERRIDE;
22
23   bool Connect(const BluetoothDeviceWin* device);
24
25  private:
26   friend BluetoothProfile;
27
28   BluetoothProfileWin(const std::string& uuid, const std::string& name);
29   virtual ~BluetoothProfileWin();
30
31   const std::string uuid_;
32   const std::string name_;
33   ConnectionCallback connection_callback_;
34 };
35
36 }  // namespace device
37
38 #endif  // DEVICE_BLUETOOTH_BLUETOOTH_PROFILE_WIN_H_