OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ |
6 #define CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ | 6 #define CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/time.h" | 13 #include "base/time/time.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "sync/base/sync_export.h" | 15 #include "sync/base/sync_export.h" |
16 #include "sync/protocol/sync.pb.h" | 16 #include "sync/protocol/sync.pb.h" |
17 | 17 |
18 namespace sync_pb { | 18 namespace sync_pb { |
19 class ClientToServerResponse; | 19 class ClientToServerResponse; |
20 class ClientToServerMessage; | 20 class ClientToServerMessage; |
21 } | 21 } |
22 | 22 |
23 namespace syncer { | 23 namespace syncer { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // Maximum size of each message. | 77 // Maximum size of each message. |
78 unsigned int max_message_size_; | 78 unsigned int max_message_size_; |
79 std::deque<TrafficRecord> records_; | 79 std::deque<TrafficRecord> records_; |
80 DISALLOW_COPY_AND_ASSIGN(TrafficRecorder); | 80 DISALLOW_COPY_AND_ASSIGN(TrafficRecorder); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace syncer | 83 } // namespace syncer |
84 | 84 |
85 #endif // CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ | 85 #endif // CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ |
86 | 86 |
OLD | NEW |