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

Side by Side Diff: chromeos/dbus/bluetooth_media_client.h

Issue 876153002: device/bluetooth:Implement Register() for BluetoothAudioSinkChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved kBluetoothAudioSinkUUID to BluetoothMediaClient. 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 unified diff | Download patch
OLDNEW
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 #ifndef CHROMEOS_DBUS_BLUETOOTH_MEDIA_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_BLUETOOTH_MEDIA_CLIENT_H_
6 #define CHROMEOS_DBUS_BLUETOOTH_MEDIA_CLIENT_H_ 6 #define CHROMEOS_DBUS_BLUETOOTH_MEDIA_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const ErrorCallback& error_callback) = 0; 85 const ErrorCallback& error_callback) = 0;
86 86
87 // TODO(mcchou): The RegisterPlayer and UnregisterPlayer methods are not 87 // TODO(mcchou): The RegisterPlayer and UnregisterPlayer methods are not
88 // included, since they are not used. These two methods may be added later. 88 // included, since they are not used. These two methods may be added later.
89 89
90 static BluetoothMediaClient* Create(); 90 static BluetoothMediaClient* Create();
91 91
92 // Constants used to indicate exceptional error conditions. 92 // Constants used to indicate exceptional error conditions.
93 static const char kNoResponseError[]; 93 static const char kNoResponseError[];
94 94
95 // The UUID for Bluetooth audio sink service.
armansito 2015/01/29 04:22:55 This should be "The string representation for the
Miao 2015/01/29 23:58:37 Done.
96 static const char kBluetoothAudioSinkUUID[];
97
95 protected: 98 protected:
96 BluetoothMediaClient(); 99 BluetoothMediaClient();
97 100
98 private: 101 private:
99 DISALLOW_COPY_AND_ASSIGN(BluetoothMediaClient); 102 DISALLOW_COPY_AND_ASSIGN(BluetoothMediaClient);
100 }; 103 };
101 104
102 } // namespace chromeos 105 } // namespace chromeos
103 106
104 #endif // CHROMEOS_DBUS_BLUETOOTH_MEDIA_CLIENT_H_ 107 #endif // CHROMEOS_DBUS_BLUETOOTH_MEDIA_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698