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

Unified Diff: dbus/bus.h

Issue 7714030: Add mock classes for Bus, ObjectProxy, and ExportedObject. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang build Created 9 years, 4 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
« no previous file with comments | « no previous file | dbus/dbus.gyp » ('j') | dbus/mock_bus.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus.h
diff --git a/dbus/bus.h b/dbus/bus.h
index e632e9ab09521f4e7caec2323bbc0a61a948197b..a11dd9b5defe6dc46555a4daeb042b9af76b124f 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);
« no previous file with comments | « no previous file | dbus/dbus.gyp » ('j') | dbus/mock_bus.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698