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

Issue 10740003: Send the user's Windows profile type up in crash reports. (Closed)

Created:
8 years, 5 months ago by grt (UTC plus 2)
Modified:
8 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Send the user's Windows profile type up in crash reports. I suspect that some of the version shear crashes happen to users with non-local profiles. In this case, it's easy to imagine that the version info in the registry is out of sync with that on the filesystem. BUG=78585 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=145892

Patch Set 1 #

Total comments: 2

Patch Set 2 : include error info #

Total comments: 2

Patch Set 3 : use SStringPrintf #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M chrome/app/breakpad_win.cc View 1 2 3 chunks +33 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
grt (UTC plus 2)
Hi Siggi, I figure it might be useful to see if there's a correlation between ...
8 years, 5 months ago (2012-07-09 16:11:38 UTC) #1
Sigurður Ásgeirsson
lgtm https://chromiumcodereview.appspot.com/10740003/diff/1/chrome/app/breakpad_win.cc File chrome/app/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10740003/diff/1/chrome/app/breakpad_win.cc#newcode229 chrome/app/breakpad_win.cc:229: if (::GetProfileType(&profile_bits)) { nit: is it useful to ...
8 years, 5 months ago (2012-07-09 16:39:48 UTC) #2
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10740003/diff/1/chrome/app/breakpad_win.cc File chrome/app/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10740003/diff/1/chrome/app/breakpad_win.cc#newcode229 chrome/app/breakpad_win.cc:229: if (::GetProfileType(&profile_bits)) { On 2012/07/09 16:39:48, Sigurður Ásgeirsson wrote: ...
8 years, 5 months ago (2012-07-09 17:03:10 UTC) #3
Sigurður Ásgeirsson
lgtm with an ubernit. https://chromiumcodereview.appspot.com/10740003/diff/11001/chrome/app/breakpad_win.cc File chrome/app/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10740003/diff/11001/chrome/app/breakpad_win.cc#newcode249 chrome/app/breakpad_win.cc:249: profile_type.assign(L"error "); ubernit: I'd grab ...
8 years, 5 months ago (2012-07-10 10:11:14 UTC) #4
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10740003/diff/11001/chrome/app/breakpad_win.cc File chrome/app/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10740003/diff/11001/chrome/app/breakpad_win.cc#newcode249 chrome/app/breakpad_win.cc:249: profile_type.assign(L"error "); On 2012/07/10 10:11:14, Sigurður Ásgeirsson wrote: > ...
8 years, 5 months ago (2012-07-10 12:13:48 UTC) #5
Sigurður Ásgeirsson
On Tue, Jul 10, 2012 at 12:13 PM, <grt@chromium.org> wrote: > > https://chromiumcodereview.**appspot.com/10740003/diff/** > 11001/chrome/app/breakpad_win.**cc<https://chromiumcodereview.appspot.com/10740003/diff/11001/chrome/app/breakpad_win.cc> ...
8 years, 5 months ago (2012-07-10 12:33:05 UTC) #6
grt (UTC plus 2)
PTAL
8 years, 5 months ago (2012-07-10 15:15:44 UTC) #7
Sigurður Ásgeirsson
lgtm lgtm
8 years, 5 months ago (2012-07-10 15:23:33 UTC) #8
mmenke
This CL seems to have broken the win build bots. See http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=18436. Breakage was apparently ...
8 years, 5 months ago (2012-07-10 21:38:24 UTC) #9
grt (UTC plus 2)
8 years, 5 months ago (2012-07-10 21:53:26 UTC) #10
r145961 should fix it for good.  could you sync up to that rev and try?
 sorry for the hassle.



On Tue, Jul 10, 2012 at 5:38 PM, <mmenke@chromium.org> wrote:

> This CL seems to have broken the win build bots.  See
> http://build.chromium.org/p/**tryserver.chromium/**
>
buildstatus?builder=win&**number=18436<http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=18436>
> .
>  Breakage was apparently between 145904 and 145913, and the error line
> sounds
> right for this CL:
>
> breakpad_win.obj : error LNK2019: unresolved external symbol
> __imp__GetProfileType@4 referenced in function "class
> std::basic_string<wchar_t,**struct std::char_traits<wchar_t>,**class
> std::allocator<wchar_t> > __cdecl `anonymous namespace'::GetProfileType(**
> void)"
> (?GetProfileType@?A0x0aeceb31@**@YA?AV?$basic_string@_WU?$**char_traits@
> _W@std@@V?$**allocator@_W@2@@std@@XZ)
> ..\build\Debug\chrome_app_**unittests.exe : fatal error LNK1120: 1
> unresolved
> externals
>
>
http://codereview.chromium.**org/10740003/<http://codereview.chromium.org/107...
>

Powered by Google App Engine
This is Rietveld 408576698