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

Side by Side Diff: device/bluetooth/bluez/bluetooth_audio_sink_bluez.cc

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 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
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
OLDNEW
« no previous file with comments | « device/bluetooth/bluez/bluetooth_audio_sink_bluez.h ('k') | device/bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698