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

Issue 886613002: Introduce the ability to wait for the watcher process to initialize. (Closed)

Created:
5 years, 10 months ago by erikwright (departed)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, robertshield
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce the ability to wait for the watcher process to initialize. BUG= Committed: https://crrev.com/c57091e4a94ef5cf881424d2a3449a19fa97f251 Cr-Commit-Position: refs/heads/master@{#314563}

Patch Set 1 #

Total comments: 28

Patch Set 2 : Review feedback. #

Total comments: 2

Patch Set 3 : Review feedback. #

Total comments: 1

Patch Set 4 : Oops, let's compile it first. #

Patch Set 5 : Add some comments. #

Total comments: 32

Patch Set 6 : Fix parameter order. #

Patch Set 7 : Review comments. #

Total comments: 12

Patch Set 8 : Review comments. #

Patch Set 9 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -78 lines) Patch
M chrome/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/chrome_watcher_client_unittest_win.cc View 1 2 3 4 5 6 7 8 1 chunk +270 lines, -0 lines 0 comments Download
A chrome/app/chrome_watcher_client_win.h View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/app/chrome_watcher_client_win.cc View 1 2 3 4 5 6 7 8 1 chunk +103 lines, -0 lines 0 comments Download
M chrome/app/chrome_watcher_command_line_unittest_win.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -4 lines 0 comments Download
M chrome/app/chrome_watcher_command_line_win.h View 1 2 3 4 5 6 7 1 chunk +12 lines, -6 lines 0 comments Download
M chrome/app/chrome_watcher_command_line_win.cc View 1 2 3 4 5 6 7 8 1 chunk +73 lines, -23 lines 0 comments Download
M chrome/app/client_util.cc View 6 7 5 chunks +8 lines, -7 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_watcher/chrome_watcher_main.cc View 1 6 chunks +29 lines, -13 lines 0 comments Download
M chrome/chrome_watcher/chrome_watcher_main_api.h View 1 chunk +6 lines, -3 lines 0 comments Download
M components/browser_watcher/watcher_client_win.h View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
M components/browser_watcher/watcher_client_win.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M components/browser_watcher/watcher_client_win_unittest.cc View 4 chunks +10 lines, -21 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
erikwright (departed)
siggi: PTAL. This will be used to block on the establishment of the Kasko RPC ...
5 years, 10 months ago (2015-01-28 20:45:50 UTC) #2
Sigurður Ásgeirsson
nice - I have but nits. https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_unittest_win.cc File chrome/app/chrome_watcher_client_unittest_win.cc (right): https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_unittest_win.cc#newcode58 chrome/app/chrome_watcher_client_unittest_win.cc:58: ::CreateEvent(NULL, FALSE, FALSE, ...
5 years, 10 months ago (2015-01-29 16:59:57 UTC) #3
erikwright (departed)
PTAL. https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_unittest_win.cc File chrome/app/chrome_watcher_client_unittest_win.cc (right): https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_unittest_win.cc#newcode58 chrome/app/chrome_watcher_client_unittest_win.cc:58: ::CreateEvent(NULL, FALSE, FALSE, kExitEventName)); On 2015/01/29 16:59:56, Sigurður ...
5 years, 10 months ago (2015-01-30 20:39:57 UTC) #4
erikwright (departed)
ping.
5 years, 10 months ago (2015-02-02 15:53:54 UTC) #5
Sigurður Ásgeirsson
nice! https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_win.cc File chrome/app/chrome_watcher_client_win.cc (right): https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_win.cc#newcode89 chrome/app/chrome_watcher_client_win.cc:89: process_.Terminate(exit_code); On 2015/01/30 20:39:57, erikwright wrote: > On ...
5 years, 10 months ago (2015-02-02 16:59:20 UTC) #6
erikwright (departed)
On 2015/02/02 16:59:20, Sigurður Ásgeirsson wrote: > nice! > > https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_win.cc > File chrome/app/chrome_watcher_client_win.cc (right): ...
5 years, 10 months ago (2015-02-03 20:04:42 UTC) #7
erikwright (departed)
Sorry, forgot to send the comments. https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_win.cc File chrome/app/chrome_watcher_client_win.cc (right): https://codereview.chromium.org/886613002/diff/1/chrome/app/chrome_watcher_client_win.cc#newcode89 chrome/app/chrome_watcher_client_win.cc:89: process_.Terminate(exit_code); On 2015/02/02 ...
5 years, 10 months ago (2015-02-03 20:05:35 UTC) #8
Sigurður Ásgeirsson
lgtm - sweet! https://codereview.chromium.org/886613002/diff/40001/components/browser_watcher/watcher_client_win.h File components/browser_watcher/watcher_client_win.h (right): https://codereview.chromium.org/886613002/diff/40001/components/browser_watcher/watcher_client_win.h#newcode35 components/browser_watcher/watcher_client_win.h:35: void AddInheritedHandle(HANDLE handle); nit: add some ...
5 years, 10 months ago (2015-02-03 20:28:05 UTC) #9
erikwright (departed)
Sorry, it appears I forgot to compile this. Fixed to make it work.
5 years, 10 months ago (2015-02-03 20:28:06 UTC) #10
Sigurður Ásgeirsson
still lgtm
5 years, 10 months ago (2015-02-03 20:30:05 UTC) #11
erikwright (departed)
grt: PTAL. Note that in the end we will not wait for the watcher to ...
5 years, 10 months ago (2015-02-03 20:37:50 UTC) #14
grt (UTC plus 2)
mostly nits. https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc File chrome/app/chrome_watcher_client_win.cc (right): https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc#newcode31 chrome/app/chrome_watcher_client_win.cc:31: PLOG(ERROR) << "Failed to create an event."; ...
5 years, 10 months ago (2015-02-03 21:20:46 UTC) #15
erikwright (departed)
grt: queries to you. https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_command_line_win.h File chrome/app/chrome_watcher_command_line_win.h (right): https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_command_line_win.h#newcode22 chrome/app/chrome_watcher_command_line_win.h:22: HANDLE on_initialized_event, On 2015/02/03 21:20:45, ...
5 years, 10 months ago (2015-02-03 21:26:02 UTC) #16
erikwright (departed)
grt: PTAL. Another query, and changes according to your comments. https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc File chrome/app/chrome_watcher_client_win.cc (right): https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc#newcode31 ...
5 years, 10 months ago (2015-02-03 21:56:47 UTC) #17
grt (UTC plus 2)
https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc File chrome/app/chrome_watcher_client_win.cc (right): https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc#newcode31 chrome/app/chrome_watcher_client_win.cc:31: PLOG(ERROR) << "Failed to create an event."; On 2015/02/03 ...
5 years, 10 months ago (2015-02-04 03:04:48 UTC) #18
erikwright (departed)
grt: PTAL. https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc File chrome/app/chrome_watcher_client_win.cc (right): https://codereview.chromium.org/886613002/diff/80001/chrome/app/chrome_watcher_client_win.cc#newcode31 chrome/app/chrome_watcher_client_win.cc:31: PLOG(ERROR) << "Failed to create an event."; ...
5 years, 10 months ago (2015-02-04 04:19:19 UTC) #19
erikwright (departed)
jochen: PTAL for build.gn
5 years, 10 months ago (2015-02-04 04:19:41 UTC) #21
jochen (gone - plz use gerrit)
lgtm
5 years, 10 months ago (2015-02-04 12:52:36 UTC) #22
grt (UTC plus 2)
lgtm
5 years, 10 months ago (2015-02-04 14:11:47 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886613002/160001
5 years, 10 months ago (2015-02-04 14:23:16 UTC) #25
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 10 months ago (2015-02-04 15:19:38 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 15:21:10 UTC) #27
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/c57091e4a94ef5cf881424d2a3449a19fa97f251
Cr-Commit-Position: refs/heads/master@{#314563}

Powered by Google App Engine
This is Rietveld 408576698