| Index: sync/engine/syncer_proto_util.cc
|
| diff --git a/sync/engine/syncer_proto_util.cc b/sync/engine/syncer_proto_util.cc
|
| index c5041d29db4ad8e5064c9c5e280252f05da552b6..b1ed209c7fc473c0400d1563d3262aedd51bc829 100644
|
| --- a/sync/engine/syncer_proto_util.cc
|
| +++ b/sync/engine/syncer_proto_util.cc
|
| @@ -9,6 +9,7 @@
|
| #include "sync/engine/net/server_connection_manager.h"
|
| #include "sync/engine/syncer.h"
|
| #include "sync/engine/syncer_types.h"
|
| +#include "sync/engine/traffic_logger.h"
|
| #include "sync/protocol/service_constants.h"
|
| #include "sync/protocol/sync.pb.h"
|
| #include "sync/protocol/sync_enums.pb.h"
|
| @@ -337,6 +338,7 @@ SyncerError SyncerProtoUtil::PostClientToServerMessage(
|
|
|
| syncable::Directory* dir = session->context()->directory();
|
|
|
| + LogClientToServerMessage(msg);
|
| if (!PostAndProcessHeaders(session->context()->connection_manager(), session,
|
| msg, response)) {
|
| // There was an error establishing communication with the server.
|
| @@ -350,6 +352,8 @@ SyncerError SyncerProtoUtil::PostClientToServerMessage(
|
| return ServerConnectionErrorAsSyncerError(server_status);
|
| }
|
|
|
| + LogClientToServerResponse(*response);
|
| +
|
| browser_sync::SyncProtocolError sync_protocol_error;
|
|
|
| // Birthday mismatch overrides any error that is sent by the server.
|
|
|