Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7576)

Unified Diff: chrome/browser/sync/api/sync_change.h

Issue 7978044: Sync/Valgrind: Add gmock printers for SyncChange, SyncData, SyncError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync/api/sync_change.cc » ('j') | chrome/browser/sync/api/sync_change.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/api/sync_change.h
diff --git a/chrome/browser/sync/api/sync_change.h b/chrome/browser/sync/api/sync_change.h
index f2bc40e05070dacd49d3ce8e6c8b9b35ddc1ebce..9ca5b7c8f7201f8fce7f9962e36cf8c1042c8a50 100644
--- a/chrome/browser/sync/api/sync_change.h
+++ b/chrome/browser/sync/api/sync_change.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_SYNC_API_SYNC_CHANGE_H_
#pragma once
+#include <iosfwd>
#include <string>
#include <vector>
@@ -56,4 +57,7 @@ class SyncChange {
SyncData sync_data_;
};
+// Printing operator - helps gtest produce readable error messages.
+std::ostream& operator<<(std::ostream& os, const SyncChange& sync_change);
akalin 2011/09/21 23:12:58 This is against Google style. I'd prefer to add '
James Hawkins 2011/09/22 01:15:26 Done.
+
#endif // CHROME_BROWSER_SYNC_API_SYNC_CHANGE_H_
« no previous file with comments | « no previous file | chrome/browser/sync/api/sync_change.cc » ('j') | chrome/browser/sync/api/sync_change.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698