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

Unified Diff: chrome/browser/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: chrome/browser/sync/protocol/proto_value_conversions.h
diff --git a/chrome/browser/sync/protocol/proto_value_conversions.h b/chrome/browser/sync/protocol/proto_value_conversions.h
index fb323266f4902fd3df690db5af50c44044a37ce7..d6862ee6502e13d860d0af1155d819649239db04 100644
--- a/chrome/browser/sync/protocol/proto_value_conversions.h
+++ b/chrome/browser/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 decode_specifics);
akalin 2012/03/14 00:17:30 i think include_specifics is a better name (the st
lipalani1 2012/03/15 00:02:13 Done.
+
+base::DictionaryValue* ClientToServerResponseToValue(
+ const sync_pb::ClientToServerResponse& proto,
+ bool decode_specifics);
akalin 2012/03/14 00:17:30 here too. don't forget to change the reference fr
lipalani1 2012/03/15 00:02:13 Done.
+
+
} // namespace browser_sync
#endif // CHROME_BROWSER_SYNC_PROTOCOL_PROTO_VALUE_CONVERSIONS_H_

Powered by Google App Engine
This is Rietveld 408576698