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

Unified Diff: dbus/bus.h

Issue 11364033: dbus: Make it possible to build as shared_library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CHROME_DBUS_EXPORT Created 8 years, 1 month 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/dbus_export.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 6f31b37ab76331ecc744c54d89518702aacddde5..75de9a3d1e240d51b81ba208ff910df2a5df3942 100644
--- a/dbus/bus.h
+++ b/dbus/bus.h
@@ -16,6 +16,7 @@
#include "base/synchronization/waitable_event.h"
#include "base/threading/platform_thread.h"
#include "base/tracked_objects.h"
+#include "dbus/dbus_export.h"
#include "dbus/object_path.h"
class MessageLoop;
@@ -130,7 +131,7 @@ class ObjectProxy;
// alive when callbacks referencing |this| are called. However, after the
// bus is shut down, |connection_| can be NULL. Hence, callbacks should
// not rely on that |connection_| is alive.
-class Bus : public base::RefCountedThreadSafe<Bus> {
+class CHROME_DBUS_EXPORT Bus : public base::RefCountedThreadSafe<Bus> {
public:
// Specifies the bus type. SESSION is used to communicate with per-user
// services like GNOME applications. SYSTEM is used to communicate with
@@ -157,7 +158,7 @@ class Bus : public base::RefCountedThreadSafe<Bus> {
};
// Options used to create a Bus object.
- struct Options {
+ struct CHROME_DBUS_EXPORT Options {
Options();
~Options();
« no previous file with comments | « no previous file | dbus/dbus.gyp » ('j') | dbus/dbus_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698