| Index: base/system_monitor/system_monitor_android.cc
|
| ===================================================================
|
| --- base/system_monitor/system_monitor_android.cc (revision 137792)
|
| +++ base/system_monitor/system_monitor_android.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// 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.
|
|
|
| @@ -6,6 +6,22 @@
|
|
|
| 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;
|
|
|