summaryrefslogtreecommitdiffstats
path: root/content/common/content_counters.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 17:30:35 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-18 17:30:35 +0000
commitbf2ecb42b2821b9609ce5736d8218c730011d7db (patch)
treede6abdf6c894199554631b9ca75405b026198588 /content/common/content_counters.h
parent253b073edfdab221f0c71caf5c92759705d04170 (diff)
downloadchromium_src-bf2ecb42b2821b9609ce5736d8218c730011d7db.zip
chromium_src-bf2ecb42b2821b9609ce5736d8218c730011d7db.tar.gz
chromium_src-bf2ecb42b2821b9609ce5736d8218c730011d7db.tar.bz2
Move renderer_main and renderer_glue to content.
Review URL: http://codereview.chromium.org/6878002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81962 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/content_counters.h')
-rw-r--r--content/common/content_counters.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/content/common/content_counters.h b/content/common/content_counters.h
new file mode 100644
index 0000000..16dc638
--- /dev/null
+++ b/content/common/content_counters.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Counters used within the browser.
+
+#ifndef CONTENT_COMMON_CONTENT_COUNTERS_H_
+#define CONTENT_COMMON_CONTENT_COUNTERS_H_
+#pragma once
+
+namespace base {
+class StatsCounter;
+class StatsCounterTimer;
+class StatsRate;
+}
+
+namespace content {
+
+class Counters {
+ public:
+ // The amount of time spent in chrome initialization.
+ static base::StatsCounterTimer& chrome_main();
+
+ // The amount of time spent in renderer initialization.
+ static base::StatsCounterTimer& renderer_main();
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_CONTENT_COUNTERS_H_