diff options
author | Danil Chapovalov <danilchap@webrtc.org> | 2018-03-08 14:09:06 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-03-09 12:27:35 +0000 |
commit | 9486b117daac09c9f7ac8450ccda835938cf3150 (patch) | |
tree | 41eec4a0928418c3314ff6ff1fa27e3a4cafb3e9 /logging | |
parent | 7bb37b884b197ea22e2830b043c09018c186bad5 (diff) | |
download | webrtc-9486b117daac09c9f7ac8450ccda835938cf3150.tar.gz |
Enable and fix chromium clang warnings in rtp_rtcp test targets
Bug: webrtc:163
Change-Id: I4ed3e63296d8bf06536a83196d597c7a906ba11c
Reviewed-on: https://webrtc-review.googlesource.com/60802
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22357}
Diffstat (limited to 'logging')
-rw-r--r-- | logging/BUILD.gn | 1 | ||||
-rw-r--r-- | logging/rtc_event_log/mock/mock_rtc_event_log.cc | 19 | ||||
-rw-r--r-- | logging/rtc_event_log/mock/mock_rtc_event_log.h | 3 |
3 files changed, 23 insertions, 0 deletions
diff --git a/logging/BUILD.gn b/logging/BUILD.gn index 16b186c1d8..d5d7e55ed7 100644 --- a/logging/BUILD.gn +++ b/logging/BUILD.gn @@ -421,6 +421,7 @@ if (rtc_include_tests) { rtc_source_set("mocks") { testonly = true sources = [ + "rtc_event_log/mock/mock_rtc_event_log.cc", "rtc_event_log/mock/mock_rtc_event_log.h", ] deps = [ diff --git a/logging/rtc_event_log/mock/mock_rtc_event_log.cc b/logging/rtc_event_log/mock/mock_rtc_event_log.cc new file mode 100644 index 0000000000..10c2b9677c --- /dev/null +++ b/logging/rtc_event_log/mock/mock_rtc_event_log.cc @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#include "logging/rtc_event_log/mock/mock_rtc_event_log.h" + +namespace webrtc { + +MockRtcEventLog::MockRtcEventLog() = default; +MockRtcEventLog::~MockRtcEventLog() = default; + +} // namespace webrtc + diff --git a/logging/rtc_event_log/mock/mock_rtc_event_log.h b/logging/rtc_event_log/mock/mock_rtc_event_log.h index 6f69169eff..44207ff2ba 100644 --- a/logging/rtc_event_log/mock/mock_rtc_event_log.h +++ b/logging/rtc_event_log/mock/mock_rtc_event_log.h @@ -20,6 +20,9 @@ namespace webrtc { class MockRtcEventLog : public RtcEventLog { public: + MockRtcEventLog(); + ~MockRtcEventLog(); + virtual bool StartLogging(std::unique_ptr<RtcEventLogOutput> output, int64_t output_period_ms) { return StartLoggingProxy(output.get(), output_period_ms); |