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

Side by Side Diff: base/debug/crash_logging.cc

Issue 16745002: Use a direct include of strings headers in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/containers/stack_container.h ('k') | base/debug/debugger_posix.cc » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/debug/crash_logging.h" 5 #include "base/debug/crash_logging.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <map> 8 #include <map>
9 9
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
11 #include "base/format_macros.h" 11 #include "base/format_macros.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 15
16 namespace base { 16 namespace base {
17 namespace debug { 17 namespace debug {
18 18
19 namespace { 19 namespace {
20 20
21 // Global map of crash key names to registration entries. 21 // Global map of crash key names to registration entries.
22 typedef std::map<base::StringPiece, CrashKey> CrashKeyMap; 22 typedef std::map<base::StringPiece, CrashKey> CrashKeyMap;
23 CrashKeyMap* g_crash_keys_ = NULL; 23 CrashKeyMap* g_crash_keys_ = NULL;
24 24
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void ResetCrashLoggingForTesting() { 192 void ResetCrashLoggingForTesting() {
193 delete g_crash_keys_; 193 delete g_crash_keys_;
194 g_crash_keys_ = NULL; 194 g_crash_keys_ = NULL;
195 g_chunk_max_length_ = 0; 195 g_chunk_max_length_ = 0;
196 g_set_key_func_ = NULL; 196 g_set_key_func_ = NULL;
197 g_clear_key_func_ = NULL; 197 g_clear_key_func_ = NULL;
198 } 198 }
199 199
200 } // namespace debug 200 } // namespace debug
201 } // namespace base 201 } // namespace base
OLDNEW
« no previous file with comments | « base/containers/stack_container.h ('k') | base/debug/debugger_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698