summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_counters.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_counters.h')
-rw-r--r--ipc/ipc_counters.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ipc/ipc_counters.h b/ipc/ipc_counters.h
new file mode 100644
index 0000000..647632a
--- /dev/null
+++ b/ipc/ipc_counters.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2009 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 IPC_COMMON_IPC_COUNTERS_H_
+#define IPC_COMMON_IPC_COUNTERS_H_
+
+class StatsCounter;
+
+namespace IPC {
+
+class Counters {
+ public:
+ // The number of messages sent on IPC channels.
+ static StatsCounter& ipc_send_counter();
+};
+
+} // namespace IPC
+
+#endif // IPC_COMMON_IPC_COUNTERS_H_