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

Unified Diff: sync/protocol/proto_enum_conversions.h

Issue 9663023: Log the sync communication that happens between client and server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 8 years, 9 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
Index: sync/protocol/proto_enum_conversions.h
diff --git a/sync/protocol/proto_enum_conversions.h b/sync/protocol/proto_enum_conversions.h
index fb8d44ba00b8a0b056ca1664d32ce6cb80ebf806..9f397a44a8997d24200472a0d94156e507e355b9 100644
--- a/sync/protocol/proto_enum_conversions.h
+++ b/sync/protocol/proto_enum_conversions.h
@@ -32,6 +32,14 @@ const char* GetPageTransitionQualifierString(
const char* GetUpdatesSourceString(
sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source);
+const char* GetResponseTypeString(
+ sync_pb::CommitResponse::ResponseType response_type);
+
+const char* GetErrorTypeString(sync_pb::SyncEnums::ErrorType error_type);
+
+const char* GetActionString(
+ sync_pb::ClientToServerResponse::Error::Action action);
+
const char* GetDeviceTypeString(
sync_pb::SessionHeader::DeviceType device_type);

Powered by Google App Engine
This is Rietveld 408576698