diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 01:56:14 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 01:56:14 +0000 |
commit | e3024465ac38cafd6ef30c4e08c107acef249b94 (patch) | |
tree | 315c4c3c86753ef6fc8215e220a3c192f21e2d8c /dbus/object_path.h | |
parent | aaf2a32109d62ae6f96cc83263370a824ee85a6d (diff) | |
download | chromium_src-e3024465ac38cafd6ef30c4e08c107acef249b94.zip chromium_src-e3024465ac38cafd6ef30c4e08c107acef249b94.tar.gz chromium_src-e3024465ac38cafd6ef30c4e08c107acef249b94.tar.bz2 |
dbus: Make it possible to build as shared_library.
BUG=158887
R=satorux@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11364033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/object_path.h')
-rw-r--r-- | dbus/object_path.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/object_path.h b/dbus/object_path.h index 9789b93..89c5287 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_; }; |