blob: 5cb8ffa81b4a3abec1d301d1522ab4bbd921e315 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// 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 CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_
#define CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_
#pragma once
namespace sync_pb {
class ClientToServerResponse;
class ClientToServerMessage;
} // namespace sync_pb
namespace browser_sync {
void LogClientToServerMessage(const sync_pb::ClientToServerMessage& msg);
void LogClientToServerResponse(
const sync_pb::ClientToServerResponse& response);
} // namespace browser_sync
#endif // CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_
|