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

Issue 2834613003: Adds error handling support for the SwReporter launcher. (Closed)

Created:
3 years, 8 months ago by ftirelo
Modified:
3 years, 7 months ago
CC:
chromium-reviews, vakh+watch_chromium.org, joenotcharles+watch_chromium.org, grt+watch_chromium.org, timvolodine, csharp+watch_chromium.org, alito+watch_chromium.org, ftirelo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds error handling support for the SwReporter launcher. BUG=690020 Review-Url: https://codereview.chromium.org/2834613003 Cr-Commit-Position: refs/heads/master@{#467471} Committed: https://chromium.googlesource.com/chromium/src/+/e012fe8a8e4d60ed8eba17fbac5df6d9fc4bcad3

Patch Set 1 #

Total comments: 26

Patch Set 2 : Code review #

Patch Set 3 : Code review #

Total comments: 9

Patch Set 4 : Move error handlers out of impl class #

Patch Set 5 : Code review #

Total comments: 36

Patch Set 6 : More reviews #

Total comments: 2

Patch Set 7 : Final comments #

Patch Set 8 : Fix win_clang failure #

Patch Set 9 : Really? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -30 lines) Patch
M chrome/browser/safe_browsing/srt_chrome_prompt_impl.h View 1 2 3 4 5 6 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc View 1 2 3 4 5 6 7 8 20 chunks +152 lines, -12 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_win.h View 1 2 3 4 5 3 chunks +28 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/srt_fetcher_win.cc View 1 2 3 4 5 6 9 chunks +34 lines, -10 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
ftirelo
3 years, 8 months ago (2017-04-20 21:12:41 UTC) #2
grt (UTC plus 2)
https://codereview.chromium.org/2834613003/diff/1/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc File chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc (right): https://codereview.chromium.org/2834613003/diff/1/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc#newcode20 chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc:20: &ChromePromptImpl::OnConnectionClosed, base::Unretained(this))); please document why Unretained is safe https://codereview.chromium.org/2834613003/diff/1/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h ...
3 years, 8 months ago (2017-04-21 11:10:59 UTC) #3
Joe Mason
lgtm with nits https://codereview.chromium.org/2834613003/diff/40001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc File chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc (right): https://codereview.chromium.org/2834613003/diff/40001/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc#newcode100 chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc:100: // Potential failures on the reporter ...
3 years, 8 months ago (2017-04-24 14:53:48 UTC) #4
ftirelo
Since most error handling is related to what to do if the dialog is shown, ...
3 years, 8 months ago (2017-04-24 15:47:46 UTC) #5
grt (UTC plus 2)
https://codereview.chromium.org/2834613003/diff/40001/chrome/browser/safe_browsing/srt_fetcher_win.cc File chrome/browser/safe_browsing/srt_fetcher_win.cc (right): https://codereview.chromium.org/2834613003/diff/40001/chrome/browser/safe_browsing/srt_fetcher_win.cc#newcode722 chrome/browser/safe_browsing/srt_fetcher_win.cc:722: base::Unretained(chrome_prompt_impl_.get()))); On 2017/04/24 14:53:48, Joe Mason wrote: > Because ...
3 years, 8 months ago (2017-04-25 07:06:40 UTC) #6
ftirelo
PTAnL https://codereview.chromium.org/2834613003/diff/80001/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc File chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc (right): https://codereview.chromium.org/2834613003/diff/80001/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc#newcode20 chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc:20: binding_.set_connection_error_handler(on_connection_closed); On 2017/04/25 07:06:39, grt (UTC plus 2) ...
3 years, 8 months ago (2017-04-25 22:24:06 UTC) #7
grt (UTC plus 2)
lgtm w/ two nits https://codereview.chromium.org/2834613003/diff/80001/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h File chrome/browser/safe_browsing/srt_chrome_prompt_impl.h (right): https://codereview.chromium.org/2834613003/diff/80001/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h#newcode18 chrome/browser/safe_browsing/srt_chrome_prompt_impl.h:18: base::Closure on_connection_closed); On 2017/04/25 22:24:05, ...
3 years, 8 months ago (2017-04-26 08:46:47 UTC) #8
ftirelo
Thanks for the excellent review! https://codereview.chromium.org/2834613003/diff/80001/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h File chrome/browser/safe_browsing/srt_chrome_prompt_impl.h (right): https://codereview.chromium.org/2834613003/diff/80001/chrome/browser/safe_browsing/srt_chrome_prompt_impl.h#newcode18 chrome/browser/safe_browsing/srt_chrome_prompt_impl.h:18: base::Closure on_connection_closed); On 2017/04/26 ...
3 years, 8 months ago (2017-04-26 14:14:16 UTC) #9
ftirelo
+jialiul for OWNERS approval
3 years, 8 months ago (2017-04-26 14:14:50 UTC) #11
Jialiu Lin
lgtm
3 years, 8 months ago (2017-04-26 17:45:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2834613003/120001
3 years, 8 months ago (2017-04-26 17:55:50 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/216047)
3 years, 8 months ago (2017-04-26 19:13:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2834613003/140001
3 years, 8 months ago (2017-04-26 19:57:19 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/413523) win_clang on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 8 months ago (2017-04-26 20:33:57 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2834613003/160001
3 years, 8 months ago (2017-04-26 20:38:50 UTC) #25
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/e012fe8a8e4d60ed8eba17fbac5df6d9fc4bcad3
3 years, 8 months ago (2017-04-26 21:52:23 UTC) #28
alph
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/2844113002/ by alph@chromium.org. ...
3 years, 8 months ago (2017-04-26 22:51:16 UTC) #29
lijeffrey1
On 2017/04/26 22:51:16, alph wrote: > A revert of this CL (patchset #9 id:160001) has ...
3 years, 7 months ago (2017-05-01 05:14:31 UTC) #30
chromium-reviews
I'll look into it. On Mon, 1 May 2017, 01:14 , <lijeffrey@google.com> wrote: > On ...
3 years, 7 months ago (2017-05-01 11:29:37 UTC) #31
ftirelo
> > Can someone please help confirm? This CL was reverted. Is the flakiness still ...
3 years, 7 months ago (2017-05-01 17:22:29 UTC) #32
chromium-reviews
3 years, 7 months ago (2017-05-01 21:48:02 UTC) #33
Message was sent while issue was closed.
As discussed, the flakiness was due to the same reason that made us revert
this CL. The issue doesn't seem to exist in the build after it was relanded.

On Mon, 1 May 2017, 13:22 , <ftirelo@chromium.org> wrote:

> > > Can someone please help confirm?
>
> This CL was reverted. Is the flakiness still going on? If so, the cause
> might be
> this CL: https://codereview.chromium.org/2849433002/
>
> I'm trying to reproduce now on my machine. As soon as I have an update,
> I'll
> ping this again.
>
> https://codereview.chromium.org/2834613003/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698