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

Unified Diff: chromeos/dbus/bluetooth_media_transport_client.h

Issue 910023002: device/bluetooth:Implement BluetoothMediaEndpointServiceProvider delegate and media-related overrid… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved the addition/removal of all types of observer to constructor/destructor. Created 5 years, 10 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: chromeos/dbus/bluetooth_media_transport_client.h
diff --git a/chromeos/dbus/bluetooth_media_transport_client.h b/chromeos/dbus/bluetooth_media_transport_client.h
index 9ed0af23010ee9ab48d820bd49aee7ef46eb0b7a..0a8b9a20c454c904b0d5fb5a16518072bb1d9074 100644
--- a/chromeos/dbus/bluetooth_media_transport_client.h
+++ b/chromeos/dbus/bluetooth_media_transport_client.h
@@ -73,6 +73,21 @@ class CHROMEOS_EXPORT BluetoothMediaTransportClient : public DBusClient {
const std::string& property_name) {}
};
+ // TODO(mcchou): Move all static constants to service_constants.h.
+ // Constants used for the names of Media Transport's properties.
+ static const char kDeviceProperty[];
+ static const char kUUIDProperty[];
+ static const char kCodecProperty[];
+ static const char kConfigurationProperty[];
+ static const char kStateProperty[];
+ static const char kDelayProperty[];
+ static const char kVolumeProperty[];
+
+ // All possible states of a valid media transport object.
+ static const char kStateIdle[];
+ static const char kStatePending[];
+ static const char kStateActive[];
+
~BluetoothMediaTransportClient() override;
// The ErrorCallback is used by media transport API methods to indicate
@@ -115,10 +130,6 @@ class CHROMEOS_EXPORT BluetoothMediaTransportClient : public DBusClient {
static BluetoothMediaTransportClient* Create();
- // Constants used to indicate exceptional error conditions.
- static const char kNoResponseError[];
- static const char kUnexpectedResponse[];
-
protected:
BluetoothMediaTransportClient();
« no previous file with comments | « chromeos/dbus/bluetooth_media_endpoint_service_provider.cc ('k') | chromeos/dbus/bluetooth_media_transport_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698