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

Side by Side Diff: chromeos/dbus/fake_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: Created 5 years, 11 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_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "chromeos/chromeos_export.h" 10 #include "chromeos/chromeos_export.h"
(...skipping 19 matching lines...) Expand all
30 const base::Closure& callback, 30 const base::Closure& callback,
31 const ErrorCallback& error_callback) override; 31 const ErrorCallback& error_callback) override;
32 void UnregisterEndpoint(const dbus::ObjectPath& object_path, 32 void UnregisterEndpoint(const dbus::ObjectPath& object_path,
33 const dbus::ObjectPath& endpoint_path, 33 const dbus::ObjectPath& endpoint_path,
34 const base::Closure& callback, 34 const base::Closure& callback,
35 const ErrorCallback& error_callback) override; 35 const ErrorCallback& error_callback) override;
36 36
37 private: 37 private:
38 // List of observers interested in event notifications from us. 38 // List of observers interested in event notifications from us.
39 ObserverList<BluetoothMediaClient::Observer> observers_; 39 ObserverList<BluetoothMediaClient::Observer> observers_;
40 40
armansito 2015/01/27 04:38:05 nit: Add a comment explaining what this member doe
Miao 2015/01/28 02:05:01 Removed.
41 dbus::ObjectPath media_path_;
42
41 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaClient); 43 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaClient);
42 }; 44 };
43 45
44 } // namespace chromeos 46 } // namespace chromeos
45 47
46 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ 48 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698