Remove ScopedProfile and ScopedTracker

Desktop / Chromium - Brett Wilson [chromium.org] - 8 September 2017 17:32 EDT

This is part of removing the task profiler. The information that these classes provide will no longer be used.

A number of files got the LazyInstance definition via the removed headers, so lazy_instance includes were added in some places as needed.

Binary size improvement: Linux x64: 238784 bytes removed Android ARM: 106496 bytes removed

Bug: 739505 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_site_isolation Change-Id: I4b2c20453971df34328e6854f3ea705411527b1a Reviewed-on: https://chromium-review.googlesource.com/655147 Commit-Queue: Brett Wilson

27e878c Remove ScopedProfile and ScopedTracker.
base/BUILD.gn | 4 --
base/profiler/scoped_profile.cc | 34 ----------
base/profiler/scoped_profile.h | 75 ---------------------
base/profiler/scoped_tracker.cc | 26 --------
base/profiler/scoped_tracker.h | 77 ----------------------
base/win/wrapped_window_proc.h | 4 --
cc/scheduler/scheduler.cc | 1 -
cc/trees/single_thread_proxy.cc | 1 -
chrome/browser/printing/pdf_to_emf_converter.cc | 1 +
chrome/browser/safe_browsing/protocol_manager.cc | 1 -
components/domain_reliability/config.cc | 1 -
components/domain_reliability/monitor.cc | 1 -
.../machine_intelligence/ranker_model_loader.cc | 1 -
.../signin/core/browser/account_tracker_service.cc | 1 -
components/sync/driver/data_type_manager_impl.cc | 1 -
.../translate/core/browser/translate_script.cc | 1 -
content/browser/browser_main_runner.cc | 4 --
content/browser/frame_host/frame_tree_node.cc | 1 -
.../renderer_host/media/media_stream_manager.cc | 1 +
extensions/browser/api/usb/usb_event_router.cc | 1 +
.../browser/extension_function_dispatcher.cc | 7 --
.../browser/guest_view/app_view/app_view_guest.cc | 1 +
.../browser/guest_view/web_view/web_view_guest.cc | 1 +
.../guest_view_internal_custom_bindings.cc | 1 +
.../mime_handler_view_container.cc | 1 +
extensions/renderer/worker_thread_dispatcher.cc | 1 +
google_apis/gaia/gaia_auth_fetcher.cc | 1 -
ipc/ipc_message_macros.h | 6 --
net/cert/multi_threaded_cert_verifier.cc | 1 -
.../sqlite/sqlite_persistent_cookie_store.cc | 1 -
net/http/http_network_session.cc | 1 -
net/http/http_proxy_client_socket.cc | 1 -
net/http/http_proxy_client_socket_wrapper.cc | 1 -
net/quic/chromium/quic_connection_logger.cc | 1 -
net/socket/transport_client_socket_pool.cc | 1 -
net/spdy/chromium/spdy_session_pool.cc | 1 -
ppapi/host/dispatch_host_message.h | 3 -
storage/browser/quota/quota_manager.cc | 1 -
ui/app_list/views/app_list_main_view.cc | 1 -
39 files changed, 8 insertions(+), 261 deletions(-)

Upstream: git.chromium.org


  • Share