Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / content / browser / power_profiler / power_event.cc
blob52d3fd7067769e564db3d7c1dce9b342be756c35
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/browser/power_profiler/power_event.h"
7 namespace content {
9 const char* kPowerTypeNames[] = {
10 "SoC_Package",
11 "Device"
14 COMPILE_ASSERT(arraysize(kPowerTypeNames) == PowerEvent::ID_COUNT,
15 kPowerTypeNames_incorrect_size);
17 } // namespace content