Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: device/bluetooth/bluetooth_adapter_experimental_chromeos.h

Issue 14487002: Bluetooth: Profile support for Chrome OS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add unit tests, and class comments Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const ErrorCallback& error_callback) OVERRIDE; 58 const ErrorCallback& error_callback) OVERRIDE;
59 virtual void ReadLocalOutOfBandPairingData( 59 virtual void ReadLocalOutOfBandPairingData(
60 const device::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& 60 const device::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback&
61 callback, 61 callback,
62 const ErrorCallback& error_callback) OVERRIDE; 62 const ErrorCallback& error_callback) OVERRIDE;
63 63
64 private: 64 private:
65 friend class device::BluetoothAdapterFactory; 65 friend class device::BluetoothAdapterFactory;
66 friend class BluetoothDeviceExperimentalChromeOS; 66 friend class BluetoothDeviceExperimentalChromeOS;
67 friend class BluetoothExperimentalChromeOSTest; 67 friend class BluetoothExperimentalChromeOSTest;
68 friend class BluetoothProfileExperimentalChromeOS;
69 friend class BluetoothProfileChromeOSTest;
68 70
69 BluetoothAdapterExperimentalChromeOS(); 71 BluetoothAdapterExperimentalChromeOS();
70 virtual ~BluetoothAdapterExperimentalChromeOS(); 72 virtual ~BluetoothAdapterExperimentalChromeOS();
71 73
72 // ExperimentalBluetoothAdapterClient::Observer override. 74 // ExperimentalBluetoothAdapterClient::Observer override.
73 virtual void AdapterAdded(const dbus::ObjectPath& object_path) OVERRIDE; 75 virtual void AdapterAdded(const dbus::ObjectPath& object_path) OVERRIDE;
74 virtual void AdapterRemoved(const dbus::ObjectPath& object_path) OVERRIDE; 76 virtual void AdapterRemoved(const dbus::ObjectPath& object_path) OVERRIDE;
75 virtual void AdapterPropertyChanged( 77 virtual void AdapterPropertyChanged(
76 const dbus::ObjectPath& object_path, 78 const dbus::ObjectPath& object_path,
77 const std::string& property_name) OVERRIDE; 79 const std::string& property_name) OVERRIDE;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Note: This should remain the last member so it'll be destroyed and 136 // Note: This should remain the last member so it'll be destroyed and
135 // invalidate its weak pointers before any other members are destroyed. 137 // invalidate its weak pointers before any other members are destroyed.
136 base::WeakPtrFactory<BluetoothAdapterExperimentalChromeOS> weak_ptr_factory_; 138 base::WeakPtrFactory<BluetoothAdapterExperimentalChromeOS> weak_ptr_factory_;
137 139
138 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterExperimentalChromeOS); 140 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterExperimentalChromeOS);
139 }; 141 };
140 142
141 } // namespace chromeos 143 } // namespace chromeos
142 144
143 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_ 145 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_EXPERIMENTAL_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_profile_service_provider.cc ('k') | device/bluetooth/bluetooth_device_experimental_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698