Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: sync/engine/traffic_logger.h

Issue 9663023: Log the sync communication that happens between client and server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For committing. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/engine/traffic_logger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 a debug build of chrome with the flag
7 // --vmodule=traffic_logger=1.
8
9 #ifndef CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_
10 #define CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_
11 #pragma once
12
13 namespace sync_pb {
14 class ClientToServerResponse;
15 class ClientToServerMessage;
16 } // namespace sync_pb
17
18 namespace browser_sync {
19
20 void LogClientToServerMessage(const sync_pb::ClientToServerMessage& msg);
21 void LogClientToServerResponse(
22 const sync_pb::ClientToServerResponse& response);
23
24 } // namespace browser_sync
25
26 #endif // CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_LOGGER_H_
OLDNEW
« no previous file with comments | « sync/engine/syncer_unittest.cc ('k') | sync/engine/traffic_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698