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

Unified Diff: dbus/mock_exported_object.h

Issue 10392152: RefCounted types should not have public destructors, Linux fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
Index: dbus/mock_exported_object.h
diff --git a/dbus/mock_exported_object.h b/dbus/mock_exported_object.h
index 07b2f00e0481e4aa83656a1c08f5121e72b61e47..e57a83ab241c64d896b8118bdbfa4663a4453980 100644
--- a/dbus/mock_exported_object.h
+++ b/dbus/mock_exported_object.h
@@ -19,7 +19,6 @@ class MockExportedObject : public ExportedObject {
public:
MockExportedObject(Bus* bus,
const ObjectPath& object_path);
- virtual ~MockExportedObject();
MOCK_METHOD3(ExportMethodAndBlock,
bool(const std::string& interface_name,
@@ -32,6 +31,9 @@ class MockExportedObject : public ExportedObject {
OnExportedCallback on_exported_callback));
MOCK_METHOD1(SendSignal, void(Signal* signal));
MOCK_METHOD0(Unregister, void());
+
+ protected:
+ virtual ~MockExportedObject();
};
} // namespace dbus
« no previous file with comments | « dbus/mock_bus.h ('k') | dbus/mock_object_proxy.h » ('j') | media/base/stream_parser_buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698