OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h" |
| 6 |
| 7 #include "components/startup_metric_utils/browser/startup_metric_utils.h" |
| 8 |
| 9 namespace startup_metric_utils { |
| 10 // static |
| 11 void StartupMetricHostImpl::Create(mojom::StartupMetricHostRequest request) { |
| 12 new StartupMetricHostImpl(std::move(request)); |
| 13 } |
| 14 |
| 15 StartupMetricHostImpl::StartupMetricHostImpl( |
| 16 mojom::StartupMetricHostRequest request) |
| 17 : binding_(this, std::move(request)) {} |
| 18 |
| 19 StartupMetricHostImpl::~StartupMetricHostImpl() = default; |
| 20 |
| 21 void StartupMetricHostImpl::RecordRendererMainEntryTime( |
| 22 const base::TimeTicks& renderer_main_entry_time) { |
| 23 startup_metric_utils::RecordRendererMainEntryTime(renderer_main_entry_time); |
| 24 } |
| 25 |
| 26 } // namespace startup_metric_utils |
OLD | NEW |