OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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 "content/common/browser_rendering_stats.h" |
| 6 |
| 7 namespace content { |
| 8 |
| 9 BrowserRenderingStats::BrowserRenderingStats() : input_event_count(0) {} |
| 10 |
| 11 BrowserRenderingStats::~BrowserRenderingStats() {} |
| 12 |
| 13 void BrowserRenderingStats::EnumerateFields( |
| 14 cc::RenderingStats::Enumerator* enumerator) const { |
| 15 enumerator->AddInt("inputEventCount", input_event_count); |
| 16 enumerator->AddTimeDeltaInSecondsF("totalInputLatency", total_input_latency); |
| 17 } |
| 18 |
| 19 } // namespace content |
OLD | NEW |