blob: 3f0931a5d2ad98bfc363c2ebce2b6dc285e0eca5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (c) 2012 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 "base/system_monitor/system_monitor.h"
namespace base {
void SystemMonitor::BeginPowerRequirement(PowerRequirement requirement,
const std::string& reason) {
if (requirement == CPU_REQUIRED)
return;
NOTIMPLEMENTED();
}
void SystemMonitor::EndPowerRequirement(PowerRequirement requirement,
const std::string& reason) {
if (requirement == CPU_REQUIRED)
return; // Nothing to do.
NOTIMPLEMENTED();
}
bool SystemMonitor::IsBatteryPower() {
NOTIMPLEMENTED();
return true;
}
} // namespace base
|