OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "device/bluetooth/bluetooth_audio_sink_bluez.h" | 5 #include "device/bluetooth/bluez/bluetooth_audio_sink_bluez.h" |
6 | 6 |
7 #include <unistd.h> | 7 #include <unistd.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <sstream> | 10 #include <sstream> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/debug/stack_trace.h" | 14 #include "base/debug/stack_trace.h" |
15 #include "base/files/file_util.h" | 15 #include "base/files/file_util.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "dbus/message.h" | 17 #include "dbus/message.h" |
18 #include "device/bluetooth/bluetooth_adapter_bluez.h" | 18 #include "device/bluetooth/bluez/bluetooth_adapter_bluez.h" |
19 #include "device/bluetooth/dbus/bluez_dbus_manager.h" | 19 #include "device/bluetooth/dbus/bluez_dbus_manager.h" |
20 | 20 |
21 using dbus::ObjectPath; | 21 using dbus::ObjectPath; |
22 using device::BluetoothAudioSink; | 22 using device::BluetoothAudioSink; |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 // TODO(mcchou): Add the constant to dbus/service_constants.h. | 26 // TODO(mcchou): Add the constant to dbus/service_constants.h. |
27 const char kBluetoothAudioSinkServicePath[] = "/org/chromium/AudioSink"; | 27 const char kBluetoothAudioSinkServicePath[] = "/org/chromium/AudioSink"; |
28 | 28 |
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 } | 561 } |
562 | 562 |
563 void BluetoothAudioSinkBlueZ::ResetEndpoint() { | 563 void BluetoothAudioSinkBlueZ::ResetEndpoint() { |
564 VLOG(1) << "ResetEndpoint"; | 564 VLOG(1) << "ResetEndpoint"; |
565 | 565 |
566 endpoint_path_ = ObjectPath(""); | 566 endpoint_path_ = ObjectPath(""); |
567 media_endpoint_ = nullptr; | 567 media_endpoint_ = nullptr; |
568 } | 568 } |
569 | 569 |
570 } // namespace bluez | 570 } // namespace bluez |
OLD | NEW |