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

Side by Side Diff: components/sync/engine_impl/traffic_logger.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has the functions to log all the sync related HTTP communication. 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 6 // To get the log run a debug build of chrome with the flag
7 // --vmodule=traffic_logger=1. 7 // --vmodule=traffic_logger=1.
8 8
9 #ifndef SYNC_ENGINE_TRAFFIC_LOGGER_H_ 9 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_TRAFFIC_LOGGER_H_
10 #define SYNC_ENGINE_TRAFFIC_LOGGER_H_ 10 #define COMPONENTS_SYNC_ENGINE_IMPL_TRAFFIC_LOGGER_H_
11 11
12 namespace sync_pb { 12 namespace sync_pb {
13 class ClientToServerResponse; 13 class ClientToServerResponse;
14 class ClientToServerMessage; 14 class ClientToServerMessage;
15 } // namespace sync_pb 15 } // namespace sync_pb
16 16
17 namespace syncer { 17 namespace syncer {
18 18
19 void LogClientToServerMessage(const sync_pb::ClientToServerMessage& msg); 19 void LogClientToServerMessage(const sync_pb::ClientToServerMessage& msg);
20 void LogClientToServerResponse( 20 void LogClientToServerResponse(const sync_pb::ClientToServerResponse& response);
21 const sync_pb::ClientToServerResponse& response);
22 21
23 } // namespace syncer 22 } // namespace syncer
24 23
25 #endif // SYNC_ENGINE_TRAFFIC_LOGGER_H_ 24 #endif // COMPONENTS_SYNC_ENGINE_IMPL_TRAFFIC_LOGGER_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/syncer_util_unittest.cc ('k') | components/sync/engine_impl/traffic_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698