summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_logging.h
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-03 02:10:56 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-03 02:10:56 +0000
commit2d5538e545d012e59e3a953f2468197ad3b6c3c4 (patch)
treef9b5b40d72b139c710e75790bfb9de08b5b2f055 /chrome/common/child_process_logging.h
parentc28e9d11956ffed60eca7924f36e735e6e918b1e (diff)
downloadchromium_src-2d5538e545d012e59e3a953f2468197ad3b6c3c4.zip
chromium_src-2d5538e545d012e59e3a953f2468197ad3b6c3c4.tar.gz
chromium_src-2d5538e545d012e59e3a953f2468197ad3b6c3c4.tar.bz2
Create a cross-platform crash key system in base/debug/crash_logging.h.
This is a direct port of the Mac-specific one, and that has been reimplemented on top of the new cross-platform one. Currently only the Mac implementation is hooked up. BUG=77656 TEST=Built official and caused some crashes, verified report data in upload. Review URL: https://chromiumcodereview.appspot.com/11635030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_logging.h')
-rw-r--r--chrome/common/child_process_logging.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h
index fd1e0b9..a9958d0 100644
--- a/chrome/common/child_process_logging.h
+++ b/chrome/common/child_process_logging.h
@@ -10,7 +10,7 @@
#include <vector>
#include "base/basictypes.h"
-#include "base/mac/crash_logging.h"
+#include "base/debug/crash_logging.h"
#include "base/string16.h"
#include "googleurl/src/gurl.h"
@@ -157,12 +157,12 @@ class ScopedPrinterInfoSetter {
namespace child_process_logging {
void SetActiveURLImpl(const GURL& url,
- base::mac::SetCrashKeyValueFuncPtr set_key_func,
- base::mac::ClearCrashKeyValueFuncPtr clear_key_func);
+ base::debug::SetCrashKeyValueFuncT set_key_func,
+ base::debug::ClearCrashKeyValueFuncT clear_key_func);
-extern const int kMaxNumCrashURLChunks;
-extern const int kMaxNumURLChunkValueLength;
-extern const char *kUrlChunkFormatStr;
+extern const size_t kMaxNumCrashURLChunks;
+extern const size_t kMaxNumURLChunkValueLength;
+extern const char* kUrlChunkFormatStr;
} // namespace child_process_logging