Index: dbus/object_path.cc |
diff --git a/dbus/object_path.cc b/dbus/object_path.cc |
index 2dda466dd23b3ac74a69e41dfcf33de1b0c7ae1a..83a283bc215b404b6e469a35c1b3f8165caa5805 100644 |
--- a/dbus/object_path.cc |
+++ b/dbus/object_path.cc |
@@ -4,8 +4,14 @@ |
#include "dbus/object_path.h" |
+#include "dbus/string_util.h" |
+ |
namespace dbus { |
+bool ObjectPath::IsValid() const { |
+ return IsStringValidObjectPath(value_); |
+} |
+ |
bool ObjectPath::operator<(const ObjectPath& that) const { |
return value_ < that.value_; |
} |