OLD | NEW |
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 #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 #pragma once | |
8 | 7 |
9 #include <deque> | 8 #include <deque> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
14 #include "base/values.h" | 13 #include "base/values.h" |
15 #include "sync/protocol/sync.pb.h" | 14 #include "sync/protocol/sync.pb.h" |
16 | 15 |
17 namespace sync_pb { | 16 namespace sync_pb { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Maximum size of each message. | 68 // Maximum size of each message. |
70 unsigned int max_message_size_; | 69 unsigned int max_message_size_; |
71 std::deque<TrafficRecord> records_; | 70 std::deque<TrafficRecord> records_; |
72 DISALLOW_COPY_AND_ASSIGN(TrafficRecorder); | 71 DISALLOW_COPY_AND_ASSIGN(TrafficRecorder); |
73 }; | 72 }; |
74 | 73 |
75 } // namespace syncer | 74 } // namespace syncer |
76 | 75 |
77 #endif // CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ | 76 #endif // CHROME_BROWSER_SYNC_ENGINE_TRAFFIC_RECORDER_H_ |
78 | 77 |
OLD | NEW |