Index: chrome/browser/sync/api/sync_data.h |
diff --git a/chrome/browser/sync/api/sync_data.h b/chrome/browser/sync/api/sync_data.h |
index b948579b610ed3bf97e26168dc99f21938ee8f22..d05a59485c24cd9b04be9b788ee5bda2024524f2 100644 |
--- a/chrome/browser/sync/api/sync_data.h |
+++ b/chrome/browser/sync/api/sync_data.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_SYNC_API_SYNC_DATA_H_ |
#pragma once |
+#include <iosfwd> |
#include <string> |
#include <vector> |
@@ -111,4 +112,7 @@ class SyncData { |
ImmutableSyncEntity immutable_entity_; |
}; |
+// Printing operator - helps gtest produce readable error messages. |
+std::ostream& operator<<(std::ostream& os, const SyncData& sync_data); |
+ |
#endif // CHROME_BROWSER_SYNC_API_SYNC_DATA_H_ |