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

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

Issue 1360943004: Revert of Use a class instead of several separate globals in crash_logging.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | base/debug/crash_logging.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 #ifndef BASE_DEBUG_CRASH_LOGGING_H_ 5 #ifndef BASE_DEBUG_CRASH_LOGGING_H_
6 #define BASE_DEBUG_CRASH_LOGGING_H_ 6 #define BASE_DEBUG_CRASH_LOGGING_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 SetCrashKeyValueFuncT set_key_func, 88 SetCrashKeyValueFuncT set_key_func,
89 ClearCrashKeyValueFuncT clear_key_func); 89 ClearCrashKeyValueFuncT clear_key_func);
90 90
91 // Helper function that breaks up a value according to the parameters 91 // Helper function that breaks up a value according to the parameters
92 // specified by the crash key object. 92 // specified by the crash key object.
93 BASE_EXPORT std::vector<std::string> ChunkCrashKeyValue( 93 BASE_EXPORT std::vector<std::string> ChunkCrashKeyValue(
94 const CrashKey& crash_key, 94 const CrashKey& crash_key,
95 const base::StringPiece& value, 95 const base::StringPiece& value,
96 size_t chunk_max_length); 96 size_t chunk_max_length);
97 97
98 // Resets the crash key system so it can be reinitialized. For testing only.
99 BASE_EXPORT void ResetCrashLoggingForTesting();
100
98 } // namespace debug 101 } // namespace debug
99 } // namespace base 102 } // namespace base
100 103
101 #endif // BASE_DEBUG_CRASH_LOGGING_H_ 104 #endif // BASE_DEBUG_CRASH_LOGGING_H_
OLDNEW
« no previous file with comments | « no previous file | base/debug/crash_logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698