summaryrefslogtreecommitdiffstats
path: root/chromium/content/browser/power_profiler/power_event.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/power_profiler/power_event.cc')
-rw-r--r--chromium/content/browser/power_profiler/power_event.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/chromium/content/browser/power_profiler/power_event.cc b/chromium/content/browser/power_profiler/power_event.cc
new file mode 100644
index 00000000000..52d3fd70677
--- /dev/null
+++ b/chromium/content/browser/power_profiler/power_event.cc
@@ -0,0 +1,17 @@
+// Copyright 2014 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.
+
+#include "content/browser/power_profiler/power_event.h"
+
+namespace content {
+
+const char* kPowerTypeNames[] = {
+ "SoC_Package",
+ "Device"
+};
+
+COMPILE_ASSERT(arraysize(kPowerTypeNames) == PowerEvent::ID_COUNT,
+ kPowerTypeNames_incorrect_size);
+
+} // namespace content