Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / metrics / metric_event_duration_details.h
blob3e2feec7a06e7bb5877eb9aace0aa2a26743c3d4
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.
5 #ifndef CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_
6 #define CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_
8 #include <string>
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) {}
16 std::string event_name;
17 int duration_ms;
20 #endif // CHROME_BROWSER_METRICS_METRIC_EVENT_DURATION_DETAILS_H_