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

Unified Diff: dbus/mock_object_proxy.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_object_proxy.h
diff --git a/dbus/mock_object_proxy.h b/dbus/mock_object_proxy.h
index ff0dcff60b8260c0958691f3c1a55ce0219987da..13832328c566517eabf76a288f850b2361ad1249 100644
--- a/dbus/mock_object_proxy.h
+++ b/dbus/mock_object_proxy.h
@@ -20,7 +20,6 @@ class MockObjectProxy : public ObjectProxy {
MockObjectProxy(Bus* bus,
const std::string& service_name,
const ObjectPath& object_path);
- virtual ~MockObjectProxy();
MOCK_METHOD2(CallMethodAndBlock, Response*(MethodCall* method_call,
int timeout_ms));
@@ -37,6 +36,9 @@ class MockObjectProxy : public ObjectProxy {
SignalCallback signal_callback,
OnConnectedCallback on_connected_callback));
MOCK_METHOD0(Detach, void());
+
+ protected:
+ virtual ~MockObjectProxy();
};
} // namespace dbus

Powered by Google App Engine
This is Rietveld 408576698