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_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ | 11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ |
12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ | 12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ |
13 | 13 |
14 #include <deque> | 14 #include <deque> |
15 #include <limits> | 15 #include <limits> |
16 #include <memory> | 16 #include <memory> |
17 #include <utility> | 17 #include <utility> |
18 #include <vector> | 18 #include <vector> |
19 | 19 |
20 #include "webrtc/rtc_base/constructormagic.h" | 20 #include "webrtc/base/constructormagic.h" |
21 #include "webrtc/rtc_base/event.h" | 21 #include "webrtc/base/event.h" |
22 #include "webrtc/rtc_base/ignore_wundef.h" | 22 #include "webrtc/base/ignore_wundef.h" |
23 #include "webrtc/rtc_base/platform_thread.h" | 23 #include "webrtc/base/platform_thread.h" |
24 #include "webrtc/rtc_base/protobuf_utils.h" | 24 #include "webrtc/base/protobuf_utils.h" |
25 #include "webrtc/rtc_base/swap_queue.h" | 25 #include "webrtc/base/swap_queue.h" |
26 #include "webrtc/system_wrappers/include/file_wrapper.h" | 26 #include "webrtc/system_wrappers/include/file_wrapper.h" |
27 | 27 |
28 #ifdef ENABLE_RTC_EVENT_LOG | 28 #ifdef ENABLE_RTC_EVENT_LOG |
29 // *.ph.h files are generated at build-time by the protobuf compiler. | 29 // *.ph.h files are generated at build-time by the protobuf compiler. |
30 RTC_PUSH_IGNORING_WUNDEF() | 30 RTC_PUSH_IGNORING_WUNDEF() |
31 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 31 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
32 #include "external/webrtc/webrtc/logging/rtc_event_log/rtc_event_log.pb.h" | 32 #include "external/webrtc/webrtc/logging/rtc_event_log/rtc_event_log.pb.h" |
33 #else | 33 #else |
34 #include "webrtc/logging/rtc_event_log/rtc_event_log.pb.h" | 34 #include "webrtc/logging/rtc_event_log/rtc_event_log.pb.h" |
35 #endif | 35 #endif |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 rtc::Event file_finished_; | 119 rtc::Event file_finished_; |
120 | 120 |
121 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtcEventLogHelperThread); | 121 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RtcEventLogHelperThread); |
122 }; | 122 }; |
123 | 123 |
124 } // namespace webrtc | 124 } // namespace webrtc |
125 | 125 |
126 #endif // ENABLE_RTC_EVENT_LOG | 126 #endif // ENABLE_RTC_EVENT_LOG |
127 | 127 |
128 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ | 128 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_HELPER_THREAD_H_ |
OLD | NEW |