diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 02:38:39 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-16 02:38:39 +0000 |
commit | d0ba2c2d1f8180150f11be94424112c5562d70e0 (patch) | |
tree | 3aa13767307db0ce15bbd2c026f302e64058bfa9 /chrome/app/breakpad_linux.cc | |
parent | 0195cd569f7dc020c1667b10075025f15620b072 (diff) | |
download | chromium_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.cc | 3 |
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(); } } |