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

Side by Side Diff: base/debug_util_win.cc

Issue 16611: Windows build fix: sorry, I commit from the wrong tree. (Closed)
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
« no previous file with comments | « no previous file | 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 10
10 namespace { 11 namespace {
11 12
12 // Minimalist key reader. 13 // Minimalist key reader.
13 // Note: Does not use the CRT. 14 // Note: Does not use the CRT.
14 bool RegReadString(HKEY root, const wchar_t* subkey, 15 bool RegReadString(HKEY root, const wchar_t* subkey,
15 const wchar_t* value_name, wchar_t* buffer, int* len) { 16 const wchar_t* value_name, wchar_t* buffer, int* len) {
16 HKEY key = NULL; 17 HKEY key = NULL;
17 DWORD res = RegOpenKeyEx(root, subkey, 0, KEY_READ, &key); 18 DWORD res = RegOpenKeyEx(root, subkey, 0, KEY_READ, &key);
18 if (ERROR_SUCCESS != res || key == NULL) 19 if (ERROR_SUCCESS != res || key == NULL)
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 107 }
107 108
108 const void *const *StackTrace::Addresses(size_t* count) { 109 const void *const *StackTrace::Addresses(size_t* count) {
109 *count = 0; 110 *count = 0;
110 return NULL; 111 return NULL;
111 } 112 }
112 113
113 void PrintBacktrace() { 114 void PrintBacktrace() {
114 NOTIMPLEMENTED(); 115 NOTIMPLEMENTED();
115 } 116 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698