summaryrefslogtreecommitdiffstats
path: root/dbus/exported_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/exported_object.h')
-rw-r--r--dbus/exported_object.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/exported_object.h b/dbus/exported_object.h
index 1351824..d9cda57 100644
--- a/dbus/exported_object.h
+++ b/dbus/exported_object.h
@@ -86,9 +86,12 @@ class ExportedObject : public base::RefCountedThreadSafe<ExportedObject> {
// BLOCKING CALL.
virtual void Unregister();
+ protected:
+ // This is protected, so we can define sub classes.
+ virtual ~ExportedObject();
+
private:
friend class base::RefCountedThreadSafe<ExportedObject>;
- virtual ~ExportedObject();
// Helper function for ExportMethod().
void ExportMethodInternal(const std::string& interface_name,