summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-26 01:05:42 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-26 01:05:42 +0000
commitf0bf6056b112fc85acdcc4ca47912c84536efeb2 (patch)
tree3bdf04867208ed6ad0aee8722c23873659400cef
parente0ffbf143832b30116cbce8036e17909a19d6a8d (diff)
downloadchromium_src-f0bf6056b112fc85acdcc4ca47912c84536efeb2.zip
chromium_src-f0bf6056b112fc85acdcc4ca47912c84536efeb2.tar.gz
chromium_src-f0bf6056b112fc85acdcc4ca47912c84536efeb2.tar.bz2
Provide an unimplemented function to appease the dynamic linker.
Review URL: http://codereview.chromium.org/16262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7470 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/base_lib.scons1
-rw-r--r--base/system_monitor_posix.cc16
2 files changed, 17 insertions, 0 deletions
diff --git a/base/base_lib.scons b/base/base_lib.scons
index e7a83fd..15791df 100644
--- a/base/base_lib.scons
+++ b/base/base_lib.scons
@@ -333,6 +333,7 @@ if env.Bit('posix'):
'shared_memory_posix.cc',
'string16.cc',
'sys_info_posix.cc',
+ 'system_monitor_posix.cc',
'thread_local_storage_posix.cc',
'thread_local_posix.cc',
'time_posix.cc',
diff --git a/base/system_monitor_posix.cc b/base/system_monitor_posix.cc
new file mode 100644
index 0000000..103010f
--- /dev/null
+++ b/base/system_monitor_posix.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2008 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.h"
+
+#include "base/logging.h"
+
+namespace base {
+
+bool SystemMonitor::IsBatteryPower() {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace base