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

Issue 10535082: /C++ readability/ - Make Chromoting Host report crashes to Breakpad (Windows only). The user must e… (Closed)

Created:
8 years, 6 months ago by alexeypa (please no reviews)
Modified:
8 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

C++ readability review fixes for r141239: Make Chromoting Host report crashes to Breakpad (Windows only). BUG=130678 TEST=remoting_unittests.BreakpadWinDeathTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142581

Patch Set 1 #

Total comments: 73

Patch Set 2 : CR feedback. #

Patch Set 3 : Removing omaha namespace. #

Total comments: 10

Patch Set 4 : Addressed the last nits and rebased. #

Patch Set 5 : Fixing a bad merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -212 lines) Patch
M remoting/base/breakpad.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/base/breakpad_linux.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/base/breakpad_mac.mm View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/base/breakpad_win.cc View 1 2 3 11 chunks +28 lines, -25 lines 0 comments Download
M remoting/base/breakpad_win_unittest.cc View 1 2 3 5 chunks +87 lines, -56 lines 0 comments Download
D remoting/host/breakpad.h View 1 2 3 1 chunk +0 lines, -15 lines 0 comments Download
D remoting/host/breakpad_win.cc View 1 2 3 1 chunk +0 lines, -60 lines 0 comments Download
M remoting/host/constants.h View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M remoting/host/constants_win.cc View 1 2 3 1 chunk +1 line, -8 lines 0 comments Download
M remoting/host/elevated_controller_module_win.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M remoting/host/host_service_win.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M remoting/host/plugin/daemon_installer_win.cc View 1 2 3 4 5 chunks +18 lines, -26 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 3 chunks +1 line, -2 lines 0 comments Download
A remoting/host/usage_stats_consent.h View 1 1 chunk +15 lines, -0 lines 0 comments Download
A remoting/host/usage_stats_consent_win.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Peter Kasting
This looks fairly good, most of the comments below are minor. In some cases I ...
8 years, 6 months ago (2012-06-14 20:16:27 UTC) #1
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10535082/diff/1/remoting/base/breakpad.h File remoting/base/breakpad.h (right): https://chromiumcodereview.appspot.com/10535082/diff/1/remoting/base/breakpad.h#newcode14 remoting/base/breakpad.h:14: // thing in main()) to catch crashes occured during ...
8 years, 6 months ago (2012-06-15 18:45:49 UTC) #2
Peter Kasting
I'll try and take another pass through later today if possible. https://chromiumcodereview.appspot.com/10535082/diff/1/remoting/base/breakpad_win.cc File remoting/base/breakpad_win.cc (right): ...
8 years, 6 months ago (2012-06-15 19:02:42 UTC) #3
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10535082/diff/1/remoting/base/breakpad_win.cc File remoting/base/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10535082/diff/1/remoting/base/breakpad_win.cc#newcode110 remoting/base/breakpad_win.cc:110: DWORD length = ::GetTempPath(MAX_PATH, temp_directory); On 2012/06/15 19:02:42, Peter ...
8 years, 6 months ago (2012-06-15 19:51:24 UTC) #4
Peter Kasting
LGTM. Once this is submitted, I'll mark the buganizer bug fixed, which should grant you ...
8 years, 6 months ago (2012-06-15 21:19:30 UTC) #5
alexeypa (please no reviews)
https://chromiumcodereview.appspot.com/10535082/diff/23001/remoting/base/breakpad_win.cc File remoting/base/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10535082/diff/23001/remoting/base/breakpad_win.cc#newcode181 remoting/base/breakpad_win.cc:181: MDRawAssertionInfo* /* assertion */) { On 2012/06/15 21:19:30, Peter ...
8 years, 6 months ago (2012-06-15 21:25:55 UTC) #6
Peter Kasting
https://chromiumcodereview.appspot.com/10535082/diff/23001/remoting/base/breakpad_win.cc File remoting/base/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10535082/diff/23001/remoting/base/breakpad_win.cc#newcode181 remoting/base/breakpad_win.cc:181: MDRawAssertionInfo* /* assertion */) { On 2012/06/15 21:25:55, alexeypa ...
8 years, 6 months ago (2012-06-15 21:33:00 UTC) #7
alexeypa (please no reviews)
The last few comments. I'll be checking it in as soon as it passes try ...
8 years, 6 months ago (2012-06-15 22:13:57 UTC) #8
Peter Kasting
https://chromiumcodereview.appspot.com/10535082/diff/23001/remoting/base/breakpad_win.cc File remoting/base/breakpad_win.cc (right): https://chromiumcodereview.appspot.com/10535082/diff/23001/remoting/base/breakpad_win.cc#newcode182 remoting/base/breakpad_win.cc:182: BreakpadWin* self = BreakpadWin::GetInstance(); On 2012/06/15 22:13:57, alexeypa wrote: ...
8 years, 6 months ago (2012-06-16 01:56:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/10535082/13006
8 years, 6 months ago (2012-06-16 03:22:00 UTC) #10
commit-bot: I haz the power
8 years, 6 months ago (2012-06-16 03:22:11 UTC) #11
Presubmit check for 10535082-13006 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Messages **
You might be calling functions intended only for testing from
production code.  It is OK to ignore this warning if you know what
you are doing, as the heuristics used to detect the situation are
not perfect.  The commit queue will not block on this warning.
Email joi@chromium.org if you have questions.
  remoting/base/breakpad_win.cc:28
    void InitializeCrashReportingForTest(const wchar_t* pipe_name);

** Presubmit Warnings **
New code should not use wstrings.  If you are calling an API that accepts a
wstring, fix the API.
    remoting/base/breakpad_win.cc:159
    remoting/host/usage_stats_consent_win.cc:25

Presubmit checks took 1.4s to calculate.

Powered by Google App Engine
This is Rietveld 408576698