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

Side by Side Diff: chrome/browser/performance_monitor/event.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_EVENT_H_ 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_H_
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_H_ 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_H_
7 7
8 #include "base/memory/scoped_ptr.h"
9 #include "base/time/time.h"
8 #include "base/values.h" 10 #include "base/values.h"
9 #include "base/time.h"
10 #include "base/memory/scoped_ptr.h"
11 11
12 namespace performance_monitor { 12 namespace performance_monitor {
13 13
14 // IMPORTANT: To add new events, please 14 // IMPORTANT: To add new events, please
15 // - Place the new event above EVENT_NUMBER_OF_EVENTS. 15 // - Place the new event above EVENT_NUMBER_OF_EVENTS.
16 // - Add a member to the EventKeyChar enum in key_builder.cc. 16 // - Add a member to the EventKeyChar enum in key_builder.cc.
17 // - Add the appropriate messages in generated_resources.grd. 17 // - Add the appropriate messages in generated_resources.grd.
18 // - Add the appropriate functions in 18 // - Add the appropriate functions in
19 // chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h. 19 // chrome/browser/ui/webui/performance_monitor/performance_monitor_l10n.h.
20 enum EventType { 20 enum EventType {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // The time at which the event was recorded. 75 // The time at which the event was recorded.
76 base::Time time_; 76 base::Time time_;
77 // The full JSON-generated value representing the information of the event; 77 // The full JSON-generated value representing the information of the event;
78 // these data are described in chrome/browser/performance_monitor/events.json. 78 // these data are described in chrome/browser/performance_monitor/events.json.
79 scoped_ptr<base::DictionaryValue> data_; 79 scoped_ptr<base::DictionaryValue> data_;
80 }; 80 };
81 81
82 } // namespace performance_monitor 82 } // namespace performance_monitor
83 83
84 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_H_ 84 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_EVENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/performance_monitor/database_unittest.cc ('k') | chrome/browser/performance_monitor/metric.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698