summaryrefslogtreecommitdiffstats
path: root/dbus/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/bus.h')
-rw-r--r--dbus/bus.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/bus.h b/dbus/bus.h
index e632e9a..a11dd9b 100644
--- a/dbus/bus.h
+++ b/dbus/bus.h
@@ -368,9 +368,12 @@ class Bus : public base::RefCountedThreadSafe<Bus> {
// AssertOnOriginThread().
virtual void AssertOnDBusThread();
+ protected:
+ // This is protected, so we can define sub classes.
+ virtual ~Bus();
+
private:
friend class base::RefCountedThreadSafe<Bus>;
- virtual ~Bus();
// Helper function used for Shutdown().
void ShutdownInternal(OnShutdownCallback callback);