| 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..8e5a4725f636dd49af3ece9beb7101c81a2f2fa8 100644
|
| --- a/sync/engine/syncer_proto_util.cc
|
| +++ b/sync/engine/syncer_proto_util.cc
|
| @@ -5,10 +5,12 @@
|
| #include "sync/engine/syncer_proto_util.h"
|
|
|
| #include "base/format_macros.h"
|
| +#include "base/json/json_writer.h"
|
| #include "base/stringprintf.h"
|
| #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 +339,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 +353,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.
|
|
|