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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h

Issue 2310883003: dbus: No dbus::FileDescriptor in BluetoothProfileServiceProvider (Closed)
Patch Set: Fix tests Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h
diff --git a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h
index 777cf3adc4c1184467ddbea0d619575bd1cc4432..df036f460dc1202bbf84f5d4a64cd69a19085d0c 100644
--- a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h
+++ b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h
@@ -10,7 +10,6 @@
#include "base/bind.h"
#include "base/callback.h"
#include "base/macros.h"
-#include "dbus/file_descriptor.h"
#include "dbus/object_path.h"
#include "device/bluetooth/bluetooth_export.h"
#include "device/bluetooth/dbus/bluetooth_profile_service_provider.h"
@@ -34,7 +33,7 @@ class DEVICE_BLUETOOTH_EXPORT FakeBluetoothProfileServiceProvider
// construction.
void Released();
void NewConnection(const dbus::ObjectPath& device_path,
- std::unique_ptr<dbus::FileDescriptor> fd,
+ base::ScopedFD fd,
const Delegate::Options& options,
const Delegate::ConfirmationCallback& callback);
void RequestDisconnection(const dbus::ObjectPath& device_path,

Powered by Google App Engine
This is Rietveld 408576698