summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_linux.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-16 02:38:39 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-16 02:38:39 +0000
commitd0ba2c2d1f8180150f11be94424112c5562d70e0 (patch)
tree3aa13767307db0ce15bbd2c026f302e64058bfa9 /chrome/app/breakpad_linux.cc
parent0195cd569f7dc020c1667b10075025f15620b072 (diff)
downloadchromium_src-d0ba2c2d1f8180150f11be94424112c5562d70e0.zip
chromium_src-d0ba2c2d1f8180150f11be94424112c5562d70e0.tar.gz
chromium_src-d0ba2c2d1f8180150f11be94424112c5562d70e0.tar.bz2
Pass Linux crash guid to renderers.
Review URL: http://codereview.chromium.org/149736 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_linux.cc')
-rw-r--r--chrome/app/breakpad_linux.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index beaae2c..2f75d0a 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -18,6 +18,7 @@
#include "base/global_descriptors_posix.h"
#include "base/path_service.h"
#include "base/rand_util.h"
+#include "base/string_util.h"
#include "breakpad/linux/directory_reader.h"
#include "breakpad/linux/exception_handler.h"
#include "breakpad/linux/linux_libc_support.h"
@@ -552,6 +553,8 @@ void InitCrashReporter() {
// dir. Instead, we set a command line flag for these processes.
if (!parsed_command_line.HasSwitch(switches::kRendererCrashDump))
return;
+ google_update::linux_guid = WideToASCII(
+ parsed_command_line.GetSwitchValue(switches::kRendererCrashDump));
EnableRendererCrashDumping();
}
}