summaryrefslogtreecommitdiffstats
path: root/base/debug
diff options
context:
space:
mode:
authorskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-19 10:49:19 +0000
committerskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-19 10:49:19 +0000
commit6482f1a50f3c5cc213e182e78fb03cd686193923 (patch)
treeeee0a125eb9a2f07150375dcce16cd8c2340b0d3 /base/debug
parentadb4ded37100f7d8df030edf98083c6c8bf019da (diff)
downloadchromium_src-6482f1a50f3c5cc213e182e78fb03cd686193923.zip
chromium_src-6482f1a50f3c5cc213e182e78fb03cd686193923.tar.gz
chromium_src-6482f1a50f3c5cc213e182e78fb03cd686193923.tar.bz2
Use common stack trace code in Android port
StackTrace has a common implementation (stack_trace.cc) as well as platform specific ones (e.g, stack_strace_android.cc). This change makes the Android port also use the common part instead of duplicating it. This also fixes a Clang compilation failure due to the unused private member variables. Change-Id: I6ebb4815097b587cb4c6c639e5893f7759a3ff79 Reviewed-on: https://gerrit-int.chromium.org/21399 Reviewed-by: Marcus Bulach <bulach@google.com> Tested-by: Sami Kyostila <skyostil@google.com> BUG= TEST=Build with clang and -Wunused-private-field Review URL: https://chromiumcodereview.appspot.com/10702142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug')
-rw-r--r--base/debug/stack_trace_android.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/base/debug/stack_trace_android.cc b/base/debug/stack_trace_android.cc
index 9d7c831..7d74bec5 100644
--- a/base/debug/stack_trace_android.cc
+++ b/base/debug/stack_trace_android.cc
@@ -16,17 +16,6 @@ namespace debug {
StackTrace::StackTrace() {
}
-StackTrace::StackTrace(const void* const* trace, size_t count) {
-}
-
-StackTrace::~StackTrace() {
-}
-
-const void* const* StackTrace::Addresses(size_t* count) const {
- NOTIMPLEMENTED();
- return NULL;
-}
-
// Sends fake SIGSTKFLT signals to let the Android linker and debuggerd dump
// stack. See inlined comments and Android bionic/linker/debugger.c and
// system/core/debuggerd/debuggerd.c for details.
@@ -55,10 +44,5 @@ void StackTrace::OutputToStream(std::ostream* os) const {
NOTIMPLEMENTED();
}
-std::string StackTrace::ToString() const {
- NOTIMPLEMENTED();
- return "";
-}
-
} // namespace debug
} // namespace base