Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: base/debug_util_win.cc

Issue 18173: "Port" StackTrace to Mac (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« base/debug_util_posix.cc ('K') | « base/debug_util_posix.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <windows.h> 5 #include <windows.h>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/debug_util.h" 8 #include "base/debug_util.h"
9 #include "logging.h" 9 #include "logging.h"
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // static 100 // static
101 void DebugUtil::BreakDebugger() { 101 void DebugUtil::BreakDebugger() {
102 __debugbreak(); 102 __debugbreak();
103 } 103 }
104 104
105 // TODO(port): not implemented on Windows 105 // TODO(port): not implemented on Windows
106 StackTrace::StackTrace() { 106 StackTrace::StackTrace() {
107 } 107 }
108 108
109 const void *const *StackTrace::Addresses(size_t* count) {
110 *count = 0;
111 return NULL;
112 }
113
114 void PrintBacktrace() { 109 void PrintBacktrace() {
115 NOTIMPLEMENTED(); 110 NOTIMPLEMENTED();
116 } 111 }
OLDNEW
« base/debug_util_posix.cc ('K') | « base/debug_util_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698