OLD | NEW |
| (Empty) |
1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_ | |
6 #define CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 // Used when sending a notification about an event that occurred that we want | |
11 // to time. | |
12 struct MetricEventDurationDetails { | |
13 MetricEventDurationDetails(const std::string& e, int d) | |
14 : event_name(e), duration_ms(d) {} | |
15 | |
16 std::string event_name; | |
17 int duration_ms; | |
18 }; | |
19 | |
20 #endif // CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_ | |
OLD | NEW |