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

Side by Side Diff: device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_client.h

Issue 1367663002: Add Linux support for the Bluetooth API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_dbus
Patch Set: rebase Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_ 5 #ifndef DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_ 6 #define DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "dbus/object_path.h" 13 #include "dbus/object_path.h"
14 #include "device/bluetooth/bluetooth_export.h" 14 #include "device/bluetooth/bluetooth_export.h"
15 #include "device/bluetooth/dbus/bluetooth_gatt_descriptor_client.h" 15 #include "device/bluetooth/dbus/bluetooth_gatt_descriptor_client.h"
16 16
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // than we do. 93 // than we do.
94 // Note: This should remain the last member so it'll be destroyed and 94 // Note: This should remain the last member so it'll be destroyed and
95 // invalidate its weak pointers before any other members are destroyed. 95 // invalidate its weak pointers before any other members are destroyed.
96 base::WeakPtrFactory<FakeBluetoothGattDescriptorClient> weak_ptr_factory_; 96 base::WeakPtrFactory<FakeBluetoothGattDescriptorClient> weak_ptr_factory_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattDescriptorClient); 98 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattDescriptorClient);
99 }; 99 };
100 100
101 } // namespace bluez 101 } // namespace bluez
102 102
103 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_ 103 #endif // DEVICE_BLUETOOTH_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698