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

Unified Diff: dbus/object_path.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
« dbus/dbus_export.h ('K') | « dbus/message.h ('k') | dbus/object_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/object_path.h
diff --git a/dbus/object_path.h b/dbus/object_path.h
index 9789b938d6060ff6c4cf7489dad733970b67be41..89c5287c54a6706850d8ecb0f6007ed1f3e29826 100644
--- a/dbus/object_path.h
+++ b/dbus/object_path.h
@@ -7,13 +7,15 @@
#include <string>
+#include "dbus/dbus_export.h"
+
namespace dbus {
// ObjectPath is a type used to distinguish D-Bus object paths from simple
// strings, especially since normal practice is that these should be only
// initialized from static constants or obtained from remote objects and no
// assumptions about their value made.
-class ObjectPath {
+class CHROME_DBUS_EXPORT ObjectPath {
public:
// Permit initialization without a value for passing to
// dbus::MessageReader::PopObjectPath to fill in and from std::string
@@ -39,6 +41,7 @@ class ObjectPath {
// observers.
bool operator==(const ObjectPath&) const;
bool operator!=(const ObjectPath&) const;
+
private:
std::string value_;
};
« dbus/dbus_export.h ('K') | « dbus/message.h ('k') | dbus/object_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698