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 #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 Loading... | |
| 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_ |
| OLD | NEW |