blob: b100445af12d4e377e6082254d1e8f3eac18aad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_
#define CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_
#pragma once
#include <string>
// Used when sending a notification about an event that occurred that we want
// to time.
struct MetricEventDurationDetails {
MetricEventDurationDetails(const std::string& e, int d)
: event_name(e), duration_ms(d) {}
std::string event_name;
int duration_ms;
};
#endif // CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_
|