| Index: trunk/src/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
|
| ===================================================================
|
| --- trunk/src/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h (revision 262179)
|
| +++ trunk/src/chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h (working copy)
|
| @@ -16,11 +16,12 @@
|
| } // namespace device
|
|
|
| namespace extensions {
|
| +
|
| namespace api {
|
|
|
| // Base class for bluetooth extension functions. This class initializes
|
| -// bluetooth adapter and calls (on the UI thread) DoWork() implemented by
|
| -// individual bluetooth extension functions.
|
| +// bluetooth adapter and calls DoWork() implemented by individual bluetooth
|
| +// extension functions.
|
| class BluetoothExtensionFunction : public UIThreadExtensionFunction {
|
| public:
|
| BluetoothExtensionFunction();
|
| @@ -35,13 +36,14 @@
|
| void RunOnAdapterReady(scoped_refptr<device::BluetoothAdapter> adapter);
|
|
|
| // Implemented by individual bluetooth extension functions, called
|
| - // automatically on the UI thread once |adapter| has been initialized.
|
| + // automatically once |adapter| has been initialized.
|
| virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) = 0;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(BluetoothExtensionFunction);
|
| };
|
|
|
| } // namespace api
|
| +
|
| } // namespace extensions
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_EXTENSION_FUNCTION_H_
|
|
|