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

Unified Diff: dbus/mock_bus.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_bus.h
diff --git a/dbus/mock_bus.h b/dbus/mock_bus.h
index bc25fb63b0a3493ddce962bb456bee14d5e391cb..6a228a6b56801d9da9aed63aef255206c6a6c5eb 100644
--- a/dbus/mock_bus.h
+++ b/dbus/mock_bus.h
@@ -18,7 +18,6 @@ namespace dbus {
class MockBus : public Bus {
public:
MockBus(Bus::Options& options);
- virtual ~MockBus();
MOCK_METHOD2(GetObjectProxy, ObjectProxy*(const std::string& service_name,
const ObjectPath& object_path));
@@ -71,6 +70,9 @@ class MockBus : public Bus {
MOCK_METHOD0(HasDBusThread, bool());
MOCK_METHOD0(AssertOnOriginThread, void());
MOCK_METHOD0(AssertOnDBusThread, void());
+
+ protected:
+ virtual ~MockBus();
};
} // namespace dbus

Powered by Google App Engine
This is Rietveld 408576698