Index: base/unguessable_token.h |
diff --git a/base/unguessable_token.h b/base/unguessable_token.h |
index 64b1868886f2f0d06c613efa79a1f84ceb7b3c59..db17b6df071b07cff1a2acc0a7505434f741966b 100644 |
--- a/base/unguessable_token.h |
+++ b/base/unguessable_token.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
#include <string.h> |
+#include <iosfwd> |
#include <tuple> |
#include "base/base_export.h" |
@@ -94,6 +95,11 @@ struct UnguessableTokenHash { |
} |
}; |
+BASE_EXPORT inline std::ostream& operator<<(std::ostream& out, |
+ const UnguessableToken& token) { |
+ return out << token.ToString(); |
danakj
2016/09/19 23:41:05
Can you put the defn in the .cc file?
tguilbert
2016/09/20 00:04:53
Done.
|
+} |
+ |
} // namespace base |
#endif // BASE_UNGUESSABLE_TOKEN_H_ |