Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #include "chromeos/dbus/bluetooth_media_client.h" | 5 #include "chromeos/dbus/bluetooth_media_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 const char kCodecEndpointProperty[] = "Codec"; | 34 const char kCodecEndpointProperty[] = "Codec"; |
| 35 const char kCapabilitiesEndpointProperty[] = "Capabilities"; | 35 const char kCapabilitiesEndpointProperty[] = "Capabilities"; |
| 36 | 36 |
| 37 } // namespace | 37 } // namespace |
| 38 | 38 |
| 39 namespace chromeos { | 39 namespace chromeos { |
| 40 | 40 |
| 41 const char BluetoothMediaClient::kNoResponseError[] = | 41 const char BluetoothMediaClient::kNoResponseError[] = |
| 42 "org.chromium.Error.NoResponse"; | 42 "org.chromium.Error.NoResponse"; |
| 43 | 43 |
| 44 const char BluetoothMediaClient::kBluetoothAudioSinkUUID[] = | |
|
armansito
2015/01/29 04:22:55
nit: All static variable assignments and method na
Miao
2015/01/29 23:58:37
Done.
| |
| 45 "0000110b-0000-1000-8000-00805f9b34fb"; | |
| 46 | |
| 44 BluetoothMediaClient::EndpointProperties::EndpointProperties() : codec(0x00) { | 47 BluetoothMediaClient::EndpointProperties::EndpointProperties() : codec(0x00) { |
| 45 } | 48 } |
| 46 | 49 |
| 47 BluetoothMediaClient::EndpointProperties::~EndpointProperties() { | 50 BluetoothMediaClient::EndpointProperties::~EndpointProperties() { |
| 48 } | 51 } |
| 49 | 52 |
| 50 class BluetoothMediaClientImpl | 53 class BluetoothMediaClientImpl |
| 51 : public BluetoothMediaClient, dbus::ObjectManager::Interface { | 54 : public BluetoothMediaClient, dbus::ObjectManager::Interface { |
| 52 public: | 55 public: |
| 53 BluetoothMediaClientImpl() | 56 BluetoothMediaClientImpl() |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 } | 220 } |
| 218 | 221 |
| 219 BluetoothMediaClient::~BluetoothMediaClient() { | 222 BluetoothMediaClient::~BluetoothMediaClient() { |
| 220 } | 223 } |
| 221 | 224 |
| 222 BluetoothMediaClient* BluetoothMediaClient::Create() { | 225 BluetoothMediaClient* BluetoothMediaClient::Create() { |
| 223 return new BluetoothMediaClientImpl(); | 226 return new BluetoothMediaClientImpl(); |
| 224 } | 227 } |
| 225 | 228 |
| 226 } // namespace chromeos | 229 } // namespace chromeos |
| OLD | NEW |