Index: third_party/WebKit/Source/platform/network/ResourceError.h |
diff --git a/third_party/WebKit/Source/platform/network/ResourceError.h b/third_party/WebKit/Source/platform/network/ResourceError.h |
index ab9a60fcfd518316e5e3d7b9cc4d245cf25856fc..6dea74de1212aa1de51655ef98a423ebf63d6882 100644 |
--- a/third_party/WebKit/Source/platform/network/ResourceError.h |
+++ b/third_party/WebKit/Source/platform/network/ResourceError.h |
@@ -30,6 +30,7 @@ |
#include "platform/PlatformExport.h" |
#include "wtf/Allocator.h" |
#include "wtf/text/WTFString.h" |
+#include <iosfwd> |
namespace blink { |
@@ -108,6 +109,9 @@ private: |
inline bool operator==(const ResourceError& a, const ResourceError& b) { return ResourceError::compare(a, b); } |
inline bool operator!=(const ResourceError& a, const ResourceError& b) { return !(a == b); } |
+// Pretty printer for gtest. Declared here to avoid ODR violations. |
+std::ostream& operator<<(std::ostream&, const ResourceError&); |
+ |
} // namespace blink |
#endif // ResourceError_h |