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

Side by Side Diff: chrome/common/chrome_counters.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 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
« no previous file with comments | « chrome/common/child_thread.cc ('k') | chrome/common/chrome_counters.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Counters used within the browser. 5 // Counters used within the browser.
6 6
7 #ifndef CHROME_COMMON_CHROME_COUNTERS_H_ 7 #ifndef CHROME_COMMON_CHROME_COUNTERS_H_
8 #define CHROME_COMMON_CHROME_COUNTERS_H_ 8 #define CHROME_COMMON_CHROME_COUNTERS_H_
9 9
10 class StatsCounter; 10 class StatsCounter;
11 class StatsCounterTimer; 11 class StatsCounterTimer;
12 class StatsRate; 12 class StatsRate;
13 13
14 namespace chrome { 14 namespace chrome {
15 15
16 class Counters { 16 class Counters {
17 public: 17 public:
18 // The number of messages sent on IPC channels.
19 static StatsCounter& ipc_send_counter();
20
21 // The amount of time spent in chrome initialization. 18 // The amount of time spent in chrome initialization.
22 static StatsCounterTimer& chrome_main(); 19 static StatsCounterTimer& chrome_main();
23 20
24 // The amount of time spent in renderer initialization. 21 // The amount of time spent in renderer initialization.
25 static StatsCounterTimer& renderer_main(); 22 static StatsCounterTimer& renderer_main();
26 23
27 // Time spent in spellchecker initialization. 24 // Time spent in spellchecker initialization.
28 static StatsCounterTimer& spellcheck_init(); 25 static StatsCounterTimer& spellcheck_init();
29 26
30 // Time/Count of spellcheck lookups. 27 // Time/Count of spellcheck lookups.
31 static StatsRate& spellcheck_lookup(); 28 static StatsRate& spellcheck_lookup();
32 29
33 // Time spent loading the Chrome plugins. 30 // Time spent loading the Chrome plugins.
34 static StatsCounterTimer& plugin_load(); 31 static StatsCounterTimer& plugin_load();
35 32
36 // Time/Count of plugin network interception. 33 // Time/Count of plugin network interception.
37 static StatsRate& plugin_intercept(); 34 static StatsRate& plugin_intercept();
38 }; 35 };
39 36
40 } // namespace chrome 37 } // namespace chrome
41 38
42 #endif // CHROME_COMMON_CHROME_COUNTERS_H_ 39 #endif // CHROME_COMMON_CHROME_COUNTERS_H_
OLDNEW
« no previous file with comments | « chrome/common/child_thread.cc ('k') | chrome/common/chrome_counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698