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

Unified Diff: dbus/exported_object.h

Issue 8201023: Make ExportedObject and ObjectProxy own Bus as scoped_refptr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 2 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 | « dbus/bus_unittest.cc ('k') | dbus/object_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/exported_object.h
diff --git a/dbus/exported_object.h b/dbus/exported_object.h
index 24456f7a3e25d8c2ef992012230fd2c82f8918c0..7dd8ca577510038ef4ffbcc70b4c8f9fd14fc1a1 100644
--- a/dbus/exported_object.h
+++ b/dbus/exported_object.h
@@ -144,7 +144,7 @@ class ExportedObject : public base::RefCountedThreadSafe<ExportedObject> {
static void OnUnregisteredThunk(DBusConnection* connection,
void* user_data);
- Bus* bus_;
+ scoped_refptr<Bus> bus_;
std::string service_name_;
std::string object_path_;
bool object_is_registered_;
« no previous file with comments | « dbus/bus_unittest.cc ('k') | dbus/object_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698