blob: 1ea29c0453404827cacd08b8f587f5cbbd594f09 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has the functions to log all the sync related HTTP communication.
// To get the log run a debug build of chrome with the flag
// --vmodule=traffic_logger=1.
#ifndef COMPONENTS_SYNC_ENGINE_IMPL_TRAFFIC_LOGGER_H_
#define COMPONENTS_SYNC_ENGINE_IMPL_TRAFFIC_LOGGER_H_
namespace sync_pb {
class ClientToServerResponse;
class ClientToServerMessage;
} // namespace sync_pb
namespace syncer {
void LogClientToServerMessage(const sync_pb::ClientToServerMessage& msg);
void LogClientToServerResponse(const sync_pb::ClientToServerResponse& response);
} // namespace syncer
#endif // COMPONENTS_SYNC_ENGINE_IMPL_TRAFFIC_LOGGER_H_