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

Unified Diff: sync/protocol/proto_value_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_value_conversions.h
diff --git a/sync/protocol/proto_value_conversions.h b/sync/protocol/proto_value_conversions.h
index 79bf1b1629baa80386930925cd648eb9cd907ac8..4fa8ca569c3d2985972e764809570eb7e327365d 100644
--- a/sync/protocol/proto_value_conversions.h
+++ b/sync/protocol/proto_value_conversions.h
@@ -20,6 +20,8 @@ class AppSpecifics;
class AutofillProfileSpecifics;
class AutofillSpecifics;
class BookmarkSpecifics;
+class ClientToServerMessage;
+class ClientToServerResponse;
class DeviceInformation;
class EncryptedData;
class EntitySpecifics;
@@ -137,6 +139,15 @@ base::DictionaryValue* TypedUrlSpecificsToValue(
base::DictionaryValue* EntitySpecificsToValue(
const sync_pb::EntitySpecifics& specifics);
+base::DictionaryValue* ClientToServerMessageToValue(
+ const sync_pb::ClientToServerMessage& proto,
+ bool include_specifics);
+
+base::DictionaryValue* ClientToServerResponseToValue(
+ const sync_pb::ClientToServerResponse& proto,
+ bool include_specifics);
+
+
} // namespace browser_sync
#endif // SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_

Powered by Google App Engine
This is Rietveld 408576698