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

Issue 1427643010: win: Explain the CreateFile() client-side pipe-opening loop (Closed)

Created:
5 years, 1 month ago by Mark Mentovai
Modified:
5 years, 1 month ago
Reviewers:
scottmg
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

win: Explain the CreateFile() client-side pipe-opening loop The bug and linked code review has more of the history, but we’ve been tempted to remove the loop outright a couple of times already before realizing that it serves an important purpose. Hopefully this comment will protect our future selves from going on the same fool’s errand. BUG=crashpad:75 R=scottmg@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/7413569ea648a43200798fbc1b2a4730122905a1

Patch Set 1 #

Patch Set 2 : Fix TransactNamedPipe() logging #

Total comments: 3

Patch Set 3 : Explain more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -5 lines) Patch
M util/win/registration_protocol_win.cc View 1 2 2 chunks +19 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Mark Mentovai
5 years, 1 month ago (2015-11-10 19:55:51 UTC) #2
scottmg
lgtm https://codereview.chromium.org/1427643010/diff/20001/util/win/registration_protocol_win.cc File util/win/registration_protocol_win.cc (left): https://codereview.chromium.org/1427643010/diff/20001/util/win/registration_protocol_win.cc#oldcode68 util/win/registration_protocol_win.cc:68: LOG(ERROR) << "TransactNamedPipe: expected " << sizeof(*response) Duh, ...
5 years, 1 month ago (2015-11-10 20:02:20 UTC) #3
Mark Mentovai
https://codereview.chromium.org/1427643010/diff/20001/util/win/registration_protocol_win.cc File util/win/registration_protocol_win.cc (right): https://codereview.chromium.org/1427643010/diff/20001/util/win/registration_protocol_win.cc#newcode33 util/win/registration_protocol_win.cc:33: // user-mode code. scottmg wrote: > You could maybe ...
5 years, 1 month ago (2015-11-10 20:12:20 UTC) #7
scottmg
lgtm!
5 years, 1 month ago (2015-11-10 20:35:25 UTC) #8
Mark Mentovai
5 years, 1 month ago (2015-11-10 21:43:18 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:100001) manually as
7413569ea648a43200798fbc1b2a4730122905a1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698