OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // This file has the functions to log all the sync related HTTP communication. | |
6 // To get the log run chrome with the flag --vmodule=traffic_logger=1. | |
akalin
2012/03/16 21:28:27
chrome -> a debug build of chrome
lipalani1
2012/03/17 01:29:50
Done.
| |
7 | |
8 #ifndef CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_ | |
9 #define CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_ | |
10 #pragma once | |
11 | |
12 namespace sync_pb { | |
13 class ClientToServerResponse; | |
14 class ClientToServerMessage; | |
15 } // namespace sync_pb | |
16 | |
17 namespace browser_sync { | |
18 | |
19 void LogClientToServerMessage(const sync_pb::ClientToServerMessage& msg); | |
20 void LogClientToServerResponse( | |
21 const sync_pb::ClientToServerResponse& response); | |
22 | |
23 } // namespace browser_sync | |
24 | |
25 #endif // CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_ | |
OLD | NEW |