OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 #ifndef WEBRTC_CALL_RTC_EVENT_LOG_HELPER_THREAD_H_ | 11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ |
12 #define WEBRTC_CALL_RTC_EVENT_LOG_HELPER_THREAD_H_ | 12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ |
13 | 13 |
14 #include <limits> | 14 #include <limits> |
15 #include <memory> | 15 #include <memory> |
16 #include <string> | 16 #include <string> |
17 #include <utility> | 17 #include <utility> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "webrtc/base/constructormagic.h" | 20 #include "webrtc/base/constructormagic.h" |
21 #include "webrtc/base/event.h" | 21 #include "webrtc/base/event.h" |
22 #include "webrtc/base/ignore_wundef.h" | 22 #include "webrtc/base/ignore_wundef.h" |
23 #include "webrtc/base/platform_thread.h" | 23 #include "webrtc/base/platform_thread.h" |
24 #include "webrtc/base/swap_queue.h" | 24 #include "webrtc/base/swap_queue.h" |
25 #include "webrtc/call/ringbuffer.h" | 25 #include "webrtc/logging/rtc_event_log/ringbuffer.h" |
26 #include "webrtc/system_wrappers/include/clock.h" | 26 #include "webrtc/system_wrappers/include/clock.h" |
27 #include "webrtc/system_wrappers/include/file_wrapper.h" | 27 #include "webrtc/system_wrappers/include/file_wrapper.h" |
28 | 28 |
29 #ifdef ENABLE_RTC_EVENT_LOG | 29 #ifdef ENABLE_RTC_EVENT_LOG |
30 // Files generated at build-time by the protobuf compiler. | 30 // Files generated at build-time by the protobuf compiler. |
31 RTC_PUSH_IGNORING_WUNDEF() | 31 RTC_PUSH_IGNORING_WUNDEF() |
32 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 32 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
33 #include "external/webrtc/webrtc/call/rtc_event_log.pb.h" | 33 #include "external/webrtc/webrtc/logging/rtc_event_log/rtc_event_log.pb.h" |
34 #else | 34 #else |
35 #include "webrtc/call/rtc_event_log.pb.h" | 35 #include "webrtc/logging/rtc_event_log/rtc_event_log.pb.h" |
36 #endif | 36 #endif |
37 RTC_POP_IGNORING_WUNDEF() | 37 RTC_POP_IGNORING_WUNDEF() |
38 #endif | 38 #endif |
39 | 39 |
40 #ifdef ENABLE_RTC_EVENT_LOG | 40 #ifdef ENABLE_RTC_EVENT_LOG |
41 | 41 |
42 namespace webrtc { | 42 namespace webrtc { |
43 | 43 |
44 class RtcEventLogHelperThread final { | 44 class RtcEventLogHelperThread final { |
45 public: | 45 public: |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 const Clock* const clock_; | 123 const Clock* const clock_; |
124 | 124 |
125 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtcEventLogHelperThread); | 125 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtcEventLogHelperThread); |
126 }; | 126 }; |
127 | 127 |
128 } // namespace webrtc | 128 } // namespace webrtc |
129 | 129 |
130 #endif // ENABLE_RTC_EVENT_LOG | 130 #endif // ENABLE_RTC_EVENT_LOG |
131 | 131 |
132 #endif // WEBRTC_CALL_RTC_EVENT_LOG_HELPER_THREAD_H_ | 132 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ |
OLD | NEW |