Index: sync/engine/syncer_proto_util.cc |
diff --git a/sync/engine/syncer_proto_util.cc b/sync/engine/syncer_proto_util.cc |
index d6fb8d5b5173e4984a25753cbb4b1f5028fdaf4e..dab228f3ae303df826bfa9ca73458dd5b2b046c6 100644 |
--- a/sync/engine/syncer_proto_util.cc |
+++ b/sync/engine/syncer_proto_util.cc |
@@ -358,7 +358,6 @@ SyncerError SyncerProtoUtil::PostClientToServerMessage( |
syncable::Directory* dir = session->context()->directory(); |
LogClientToServerMessage(*msg); |
- session->context()->traffic_recorder()->RecordClientToServerMessage(*msg); |
if (!PostAndProcessHeaders(session->context()->connection_manager(), session, |
*msg, response)) { |
// There was an error establishing communication with the server. |
@@ -371,10 +370,7 @@ SyncerError SyncerProtoUtil::PostClientToServerMessage( |
return ServerConnectionErrorAsSyncerError(server_status); |
} |
- |
LogClientToServerResponse(*response); |
- session->context()->traffic_recorder()->RecordClientToServerResponse( |
- *response); |
// Persist a bag of chips if it has been sent by the server. |
PersistBagOfChips(dir, *response); |