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

Unified Diff: chromeos/dbus/fake_dbus_thread_manager.h

Issue 457563002: Remove unused DBusThreadManagerObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « chromeos/dbus/dbus_thread_manager_observer.h ('k') | chromeos/dbus/fake_dbus_thread_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_dbus_thread_manager.h
diff --git a/chromeos/dbus/fake_dbus_thread_manager.h b/chromeos/dbus/fake_dbus_thread_manager.h
index 075b906b81aa13f7d1550ea9ffcdea9016f5a869..d70f59900531bce88ff8e80ecc41e4296a7e79e1 100644
--- a/chromeos/dbus/fake_dbus_thread_manager.h
+++ b/chromeos/dbus/fake_dbus_thread_manager.h
@@ -6,7 +6,6 @@
#define CHROMEOS_DBUS_FAKE_DBUS_THREAD_MANAGER_H_
#include "base/logging.h"
-#include "base/observer_list.h"
#include "chromeos/chromeos_export.h"
#include "chromeos/dbus/dbus_thread_manager.h"
@@ -17,8 +16,6 @@ class ObjectPath;
namespace chromeos {
-class DBusThreadManagerObserver;
-
// This class provides a fake implementation of DBusThreadManager, which
// hosts fake D-Bus clients.
class CHROMEOS_EXPORT FakeDBusThreadManager : public DBusThreadManager {
@@ -78,8 +75,6 @@ class CHROMEOS_EXPORT FakeDBusThreadManager : public DBusThreadManager {
void SetSystemClockClient(scoped_ptr<SystemClockClient> client);
void SetUpdateEngineClient(scoped_ptr<UpdateEngineClient> client);
- virtual void AddObserver(DBusThreadManagerObserver* observer) OVERRIDE;
- virtual void RemoveObserver(DBusThreadManagerObserver* observer) OVERRIDE;
virtual dbus::Bus* GetSystemBus() OVERRIDE;
virtual BluetoothAdapterClient* GetBluetoothAdapterClient() OVERRIDE;
@@ -124,10 +119,6 @@ class CHROMEOS_EXPORT FakeDBusThreadManager : public DBusThreadManager {
virtual UpdateEngineClient* GetUpdateEngineClient() OVERRIDE;
private:
- // Note: Keep this before other members so they can call AddObserver() in
- // their c'tors.
- ObserverList<DBusThreadManagerObserver> observers_;
-
scoped_ptr<BluetoothAdapterClient> bluetooth_adapter_client_;
scoped_ptr<BluetoothAgentManagerClient> bluetooth_agent_manager_client_;
scoped_ptr<BluetoothDeviceClient> bluetooth_device_client_;
« no previous file with comments | « chromeos/dbus/dbus_thread_manager_observer.h ('k') | chromeos/dbus/fake_dbus_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698