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

Issue 1086363003: Handled nullptr argument in WaitForExit() and WaitForExitWithTimeout() methods. (Closed)

Created:
5 years, 8 months ago by g.mehndiratt
Modified:
5 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handled nullptr argument passing in WaitForExit() and WaitForExitWithTimeout() methods. No need to pass exit_code in above methods if exit_code is not required. BUG=417532 Committed: https://crrev.com/fd19e23a8a1e0d390706ad53470afb6d77f88847 Cr-Commit-Position: refs/heads/master@{#331936}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review comments incorporated. #

Total comments: 2

Patch Set 3 : Review comments incorporated. #

Total comments: 7

Patch Set 4 : Removed argument passing with nullptr where exit_code was not used.Put proper comments. #

Total comments: 4

Patch Set 5 : Review comments incorporated.put proper comments. #

Total comments: 2

Patch Set 6 : Review comments incorporated. #

Total comments: 2

Patch Set 7 : Review comments incorporated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -11 lines) Patch
M ash/test/test_metro_viewer_process_host.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M base/process/process.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M base/process/process_posix.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M base/process/process_win.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/app/chrome_watcher_client_unittest_win.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/process_singleton_win_unittest.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M components/browser_watcher/exit_code_watcher_win_unittest.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 44 (10 generated)
g.mehndiratt
Please review changes for Point 2.
5 years, 8 months ago (2015-04-24 10:28:59 UTC) #1
Peter Kasting
On 2015/04/24 10:28:59, g.mehndiratt wrote: > Please review changes for Point 2. You didn't set ...
5 years, 8 months ago (2015-04-24 21:00:32 UTC) #2
g.mehndiratt
Please review the patch.
5 years, 8 months ago (2015-04-27 04:44:54 UTC) #4
g.mehndiratt
Please review the patch.
5 years, 8 months ago (2015-04-27 09:06:34 UTC) #6
danakj
+rvargas
5 years, 8 months ago (2015-04-27 16:52:51 UTC) #8
g.mehndiratt
Added another reviewer as rvargas is not available.
5 years, 7 months ago (2015-04-29 06:35:04 UTC) #10
Lei Zhang
https://codereview.chromium.org/1086363003/diff/1/base/process/process.h File base/process/process.h (right): https://codereview.chromium.org/1086363003/diff/1/base/process/process.h#newcode105 base/process/process.h:105: bool WaitForExit(int* exit_code = NULL); This is against the ...
5 years, 7 months ago (2015-04-29 07:52:33 UTC) #11
rvargas (doing something else)
https://codereview.chromium.org/1086363003/diff/1/base/process/process.h File base/process/process.h (right): https://codereview.chromium.org/1086363003/diff/1/base/process/process.h#newcode105 base/process/process.h:105: bool WaitForExit(int* exit_code = NULL); On 2015/04/29 07:52:32, Lei ...
5 years, 7 months ago (2015-04-30 23:28:27 UTC) #12
g.mehndiratt
Review comments incorporated. https://codereview.chromium.org/1086363003/diff/1/base/process/process.h File base/process/process.h (right): https://codereview.chromium.org/1086363003/diff/1/base/process/process.h#newcode105 base/process/process.h:105: bool WaitForExit(int* exit_code = NULL); On ...
5 years, 7 months ago (2015-05-04 06:40:21 UTC) #13
g.mehndiratt
Please review.
5 years, 7 months ago (2015-05-04 07:25:44 UTC) #15
Lei Zhang
- You should update the header file to indicate these parameters are options. - Can ...
5 years, 7 months ago (2015-05-05 00:44:00 UTC) #16
g.mehndiratt
Please review. https://codereview.chromium.org/1086363003/diff/20001/base/process/process_win.cc File base/process/process_win.cc (right): https://codereview.chromium.org/1086363003/diff/20001/base/process/process_win.cc#newcode157 base/process/process_win.cc:157: *exit_code = temp_code; On 2015/05/05 00:44:00, Lei ...
5 years, 7 months ago (2015-05-06 07:18:01 UTC) #17
Lei Zhang
Please change the CL description so it makes sense. https://codereview.chromium.org/1086363003/diff/40001/DEPS File DEPS (right): https://codereview.chromium.org/1086363003/diff/40001/DEPS#newcode37 DEPS:37: ...
5 years, 7 months ago (2015-05-06 08:05:15 UTC) #18
g.mehndiratt
Review comments incorporated.Please review. https://codereview.chromium.org/1086363003/diff/40001/DEPS File DEPS (right): https://codereview.chromium.org/1086363003/diff/40001/DEPS#newcode37 DEPS:37: 'webkit_revision': 'c127d37233c824ba96d9fdba5bf4db8f1311fd0d', # from svn ...
5 years, 7 months ago (2015-05-06 10:52:35 UTC) #19
Lei Zhang
Again, [lease change the CL description so it makes sense. https://codereview.chromium.org/1086363003/diff/60001/base/process/process.h File base/process/process.h (right): https://codereview.chromium.org/1086363003/diff/60001/base/process/process.h#newcode105 ...
5 years, 7 months ago (2015-05-06 21:38:00 UTC) #20
Lei Zhang
On 2015/05/06 21:38:00, Lei Zhang wrote: > Again, [lease change the CL description so it ...
5 years, 7 months ago (2015-05-06 21:38:14 UTC) #21
g.mehndiratt
Review comments incorporated.I have changed CL description and it is updated in description section.Please review. ...
5 years, 7 months ago (2015-05-21 09:29:52 UTC) #22
Lei Zhang
For the 3rd time, please change the CL description so it makes sense. https://codereview.chromium.org/1086363003/diff/80001/base/process/process.h File ...
5 years, 7 months ago (2015-05-21 19:53:15 UTC) #23
g.mehndiratt
On 2015/05/21 19:53:15, Lei Zhang wrote: Hello Mr. Lei Zhang, Apology for delay in updation ...
5 years, 7 months ago (2015-05-27 05:30:21 UTC) #24
g.mehndiratt
Review comments incorporated. Please review. https://codereview.chromium.org/1086363003/diff/80001/base/process/process.h File base/process/process.h (right): https://codereview.chromium.org/1086363003/diff/80001/base/process/process.h#newcode106 base/process/process.h:106: //if the exit code ...
5 years, 7 months ago (2015-05-27 05:30:43 UTC) #25
Lei Zhang
You have ".." in the CL description, but it should be a period and a ...
5 years, 7 months ago (2015-05-27 06:42:49 UTC) #26
g.mehndiratt
Review comments incorporated. https://codereview.chromium.org/1086363003/diff/100001/base/process/process_win.cc File base/process/process_win.cc (right): https://codereview.chromium.org/1086363003/diff/100001/base/process/process_win.cc#newcode156 base/process/process_win.cc:156: if (exit_code) On 2015/05/27 06:42:49, Lei ...
5 years, 7 months ago (2015-05-27 07:28:35 UTC) #27
Lei Zhang
lgtm
5 years, 7 months ago (2015-05-27 07:38:42 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1086363003/120001
5 years, 7 months ago (2015-05-27 08:18:59 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/66142)
5 years, 7 months ago (2015-05-27 08:25:30 UTC) #32
g.mehndiratt
Added Reviewers for remaining files review.
5 years, 7 months ago (2015-05-27 08:30:25 UTC) #34
Sigurður Ásgeirsson
browser_watcher lgtm
5 years, 7 months ago (2015-05-27 14:11:39 UTC) #35
g.mehndiratt
Added another review for ash/test files review.
5 years, 7 months ago (2015-05-28 05:07:39 UTC) #37
oshima
ash/ lgtm
5 years, 7 months ago (2015-05-28 06:19:19 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1086363003/120001
5 years, 6 months ago (2015-05-29 06:23:14 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 6 months ago (2015-05-29 08:17:29 UTC) #41
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/fd19e23a8a1e0d390706ad53470afb6d77f88847 Cr-Commit-Position: refs/heads/master@{#331936}
5 years, 6 months ago (2015-05-29 08:18:25 UTC) #42
vabr (Chromium)
On 2015/05/29 08:18:25, commit-bot: I haz the power wrote: > Patchset 7 (id:??) landed as ...
5 years, 6 months ago (2015-05-29 09:47:25 UTC) #43
vabr (Chromium)
5 years, 6 months ago (2015-05-29 11:15:23 UTC) #44
Message was sent while issue was closed.
On 2015/05/29 09:47:25, vabr (Chromium) wrote:
> On 2015/05/29 08:18:25, commit-bot: I haz the power wrote:
> > Patchset 7 (id:??) landed as
> > https://crrev.com/fd19e23a8a1e0d390706ad53470afb6d77f88847
> > Cr-Commit-Position: refs/heads/master@{#331936}
> 
> FYI: Currently suspecting this CL of breaking
>
https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%2...
> and
>
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....
> Will probably speculatively revert soon.
> 
> Cheers,
> today's sheriff

The next build is green, no reverting.

Powered by Google App Engine
This is Rietveld 408576698