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

Side by Side Diff: content/common/content_counters.h

Issue 6878002: Move renderer_main and renderer_glue to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « chrome/test/render_view_test.cc ('k') | content/common/content_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) 2011 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 CONTENT_COMMON_CONTENT_COUNTERS_H_
8 #define CHROME_COMMON_CHROME_COUNTERS_H_ 8 #define CONTENT_COMMON_CONTENT_COUNTERS_H_
9 #pragma once 9 #pragma once
10 10
11 namespace base { 11 namespace base {
12 class StatsCounter; 12 class StatsCounter;
13 class StatsCounterTimer; 13 class StatsCounterTimer;
14 class StatsRate; 14 class StatsRate;
15 } 15 }
16 16
17 namespace chrome { 17 namespace content {
18 18
19 class Counters { 19 class Counters {
20 public: 20 public:
21 // The amount of time spent in chrome initialization. 21 // The amount of time spent in chrome initialization.
22 static base::StatsCounterTimer& chrome_main(); 22 static base::StatsCounterTimer& chrome_main();
23 23
24 // The amount of time spent in renderer initialization. 24 // The amount of time spent in renderer initialization.
25 static base::StatsCounterTimer& renderer_main(); 25 static base::StatsCounterTimer& renderer_main();
26
27 // Time spent in spellchecker initialization.
28 static base::StatsCounterTimer& spellcheck_init();
29
30 // Time/Count of spellcheck lookups.
31 static base::StatsRate& spellcheck_lookup();
32 }; 26 };
33 27
34 } // namespace chrome 28 } // namespace content
35 29
36 #endif // CHROME_COMMON_CHROME_COUNTERS_H_ 30 #endif // CONTENT_COMMON_CONTENT_COUNTERS_H_
OLDNEW
« no previous file with comments | « chrome/test/render_view_test.cc ('k') | content/common/content_counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698