Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: chrome/browser/performance_monitor/metric.h

Issue 18128002: Use a direct include of time headers in chrome/browser/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_H_ 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_H_
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_H_ 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/time.h" 9 #include "base/time/time.h"
10 10
11 namespace performance_monitor { 11 namespace performance_monitor {
12 12
13 // IMPORTANT: To add new metrics, please 13 // IMPORTANT: To add new metrics, please
14 // - Place the new metric above METRIC_NUMBER_OF_METRICS. 14 // - Place the new metric above METRIC_NUMBER_OF_METRICS.
15 // - Add a member to the MetricKeyChar enum in key_builder.cc. 15 // - Add a member to the MetricKeyChar enum in key_builder.cc.
16 // - Add the appropriate messages in generated_resources.grd. 16 // - Add the appropriate messages in generated_resources.grd.
17 // - Add the appropriate functions in 17 // - Add the appropriate functions in
18 // chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h. 18 // chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h.
19 enum MetricType { 19 enum MetricType {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 std::string ValueAsString() const; 61 std::string ValueAsString() const;
62 62
63 MetricType type; 63 MetricType type;
64 base::Time time; 64 base::Time time;
65 double value; 65 double value;
66 }; 66 };
67 67
68 } // namespace performance_monitor 68 } // namespace performance_monitor
69 69
70 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_H_ 70 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_METRIC_H_
OLDNEW
« no previous file with comments | « chrome/browser/performance_monitor/event.h ('k') | chrome/browser/performance_monitor/metric.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698