| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 // This file contains the helper classes for the DataLog APIs. See data_log.h | 11 // This file contains the helper classes for the DataLog APIs. See data_log.h |
| 12 // for the APIs. | 12 // for the APIs. |
| 13 // | 13 // |
| 14 // These classes are helper classes used for logging data for offline | 14 // These classes are helper classes used for logging data for offline |
| 15 // processing. Data logged with these classes can conveniently be parsed and | 15 // processing. Data logged with these classes can conveniently be parsed and |
| 16 // processed with e.g. Matlab. | 16 // processed with e.g. Matlab. |
| 17 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_IMPL_H_ | 17 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_IMPL_H_ |
| 18 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_IMPL_H_ | 18 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_IMPL_H_ |
| 19 | 19 |
| 20 #include <map> | 20 #include <map> |
| 21 #include <memory> | 21 #include <memory> |
| 22 #include <sstream> | 22 #include <sstream> |
| 23 #include <string> | 23 #include <string> |
| 24 #include <vector> | 24 #include <vector> |
| 25 | 25 |
| 26 #include "webrtc/base/platform_thread.h" | 26 #include "webrtc/base/platform_thread.h" |
| 27 #include "webrtc/base/scoped_ptr.h" | |
| 28 #include "webrtc/typedefs.h" | 27 #include "webrtc/typedefs.h" |
| 29 | 28 |
| 30 namespace webrtc { | 29 namespace webrtc { |
| 31 | 30 |
| 32 class CriticalSectionWrapper; | 31 class CriticalSectionWrapper; |
| 33 class EventWrapper; | 32 class EventWrapper; |
| 34 class LogTable; | 33 class LogTable; |
| 35 class RWLockWrapper; | 34 class RWLockWrapper; |
| 36 | 35 |
| 37 // All container classes need to implement a ToString-function to be | 36 // All container classes need to implement a ToString-function to be |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 EventWrapper* flush_event_; | 148 EventWrapper* flush_event_; |
| 150 // This is a unique_ptr so that we don't have to create threads in the no-op | 149 // This is a unique_ptr so that we don't have to create threads in the no-op |
| 151 // impl. | 150 // impl. |
| 152 std::unique_ptr<rtc::PlatformThread> file_writer_thread_; | 151 std::unique_ptr<rtc::PlatformThread> file_writer_thread_; |
| 153 RWLockWrapper* tables_lock_; | 152 RWLockWrapper* tables_lock_; |
| 154 }; | 153 }; |
| 155 | 154 |
| 156 } // namespace webrtc | 155 } // namespace webrtc |
| 157 | 156 |
| 158 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_IMPL_H_ | 157 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_IMPL_H_ |
| OLD | NEW |