From dc0da59ebaafb575a0a1d7740e8440435683eaad Mon Sep 17 00:00:00 2001 From: pbos Date: Fri, 6 Nov 2015 02:16:47 -0800 Subject: [PATCH] Remove old system_wrappers event_tracer.h. Replaced by webrtc/base/event_tracer.h and no longer used. BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1421463008 Cr-Commit-Position: refs/heads/master@{#10537} --- webrtc/system_wrappers/BUILD.gn | 2 -- webrtc/system_wrappers/include/event_tracer.h | 33 ------------------- webrtc/system_wrappers/source/event_tracer.cc | 12 ------- .../source/event_tracer_unittest.cc | 12 ------- webrtc/system_wrappers/system_wrappers.gyp | 2 -- .../system_wrappers/system_wrappers_tests.gyp | 1 - 6 files changed, 62 deletions(-) delete mode 100644 webrtc/system_wrappers/include/event_tracer.h delete mode 100644 webrtc/system_wrappers/source/event_tracer.cc delete mode 100644 webrtc/system_wrappers/source/event_tracer_unittest.cc diff --git a/webrtc/system_wrappers/BUILD.gn b/webrtc/system_wrappers/BUILD.gn index 5ff439f57e..d0447e9ca1 100644 --- a/webrtc/system_wrappers/BUILD.gn +++ b/webrtc/system_wrappers/BUILD.gn @@ -22,7 +22,6 @@ static_library("system_wrappers") { "include/data_log.h", "include/data_log_c.h", "include/data_log_impl.h", - "include/event_tracer.h", "include/event_wrapper.h", "include/field_trial.h", "include/file_wrapper.h", @@ -67,7 +66,6 @@ static_library("system_wrappers") { "source/event_timer_posix.h", "source/event_timer_win.cc", "source/event_timer_win.h", - "source/event_tracer.cc", "source/file_impl.cc", "source/file_impl.h", "source/logging.cc", diff --git a/webrtc/system_wrappers/include/event_tracer.h b/webrtc/system_wrappers/include/event_tracer.h deleted file mode 100644 index 8941251eca..0000000000 --- a/webrtc/system_wrappers/include/event_tracer.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) 2012 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. - */ - -// This file defines the interface for event tracing in WebRTC. -// -// Event log handlers are set through SetupEventTracer(). User of this API will -// provide two function pointers to handle event tracing calls. -// -// * GetCategoryEnabledPtr -// Event tracing system calls this function to determine if a particular -// event category is enabled. -// -// * AddTraceEventPtr -// Adds a tracing event. It is the user's responsibility to log the data -// provided. -// -// Parameters for the above two functions are described in trace_event.h. - -#ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_EVENT_TRACER_H_ -#define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_EVENT_TRACER_H_ - -// This file has moved. -// TODO(tommi): Delete after removing dependencies and updating Chromium. -#include "webrtc/base/event_tracer.h" - -#endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_EVENT_TRACER_H_ diff --git a/webrtc/system_wrappers/source/event_tracer.cc b/webrtc/system_wrappers/source/event_tracer.cc deleted file mode 100644 index 9328e80036..0000000000 --- a/webrtc/system_wrappers/source/event_tracer.cc +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2012 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. - */ - -// This file has moved. -// TODO(tommi): Delete after removing dependencies and updating Chromium. diff --git a/webrtc/system_wrappers/source/event_tracer_unittest.cc b/webrtc/system_wrappers/source/event_tracer_unittest.cc deleted file mode 100644 index 9328e80036..0000000000 --- a/webrtc/system_wrappers/source/event_tracer_unittest.cc +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright (c) 2012 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. - */ - -// This file has moved. -// TODO(tommi): Delete after removing dependencies and updating Chromium. diff --git a/webrtc/system_wrappers/system_wrappers.gyp b/webrtc/system_wrappers/system_wrappers.gyp index a72ff73a64..90ea79f80c 100644 --- a/webrtc/system_wrappers/system_wrappers.gyp +++ b/webrtc/system_wrappers/system_wrappers.gyp @@ -28,7 +28,6 @@ 'include/data_log.h', 'include/data_log_c.h', 'include/data_log_impl.h', - 'include/event_tracer.h', 'include/event_wrapper.h', 'include/field_trial.h', 'include/file_wrapper.h', @@ -77,7 +76,6 @@ 'source/event_timer_posix.h', 'source/event_timer_win.cc', 'source/event_timer_win.h', - 'source/event_tracer.cc', 'source/file_impl.cc', 'source/file_impl.h', 'source/logcat_trace_context.cc', diff --git a/webrtc/system_wrappers/system_wrappers_tests.gyp b/webrtc/system_wrappers/system_wrappers_tests.gyp index da2fe7432f..02bf627779 100644 --- a/webrtc/system_wrappers/system_wrappers_tests.gyp +++ b/webrtc/system_wrappers/system_wrappers_tests.gyp @@ -23,7 +23,6 @@ 'source/clock_unittest.cc', 'source/condition_variable_unittest.cc', 'source/critical_section_unittest.cc', - 'source/event_tracer_unittest.cc', 'source/logging_unittest.cc', 'source/data_log_unittest.cc', 'source/data_log_unittest_disabled.cc',