summaryrefslogtreecommitdiffstats
path: root/dbus/object_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/object_path.h')
-rw-r--r--dbus/object_path.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/object_path.h b/dbus/object_path.h
index 89c5287..072c23d 100644
--- a/dbus/object_path.h
+++ b/dbus/object_path.h
@@ -5,6 +5,7 @@
#ifndef DBUS_OBJECT_PATH_H_
#define DBUS_OBJECT_PATH_H_
+#include <iosfwd>
#include <string>
#include "dbus/dbus_export.h"
@@ -46,6 +47,9 @@ class CHROME_DBUS_EXPORT ObjectPath {
std::string value_;
};
+// This is required by gtest to print a readable output on test failures.
+CHROME_DBUS_EXPORT void PrintTo(const ObjectPath& path, std::ostream* out);
+
} // namespace dbus
#endif // DBUS_OBJECT_PATH_H_