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

Issue 1538923004: [win] Change Chrome Watcher configuration API. (Closed)

Created:
5 years ago by chrisha
Modified:
4 years, 11 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[win] Change Chrome Watcher configuration API. This moves away from using bound functions as generators/interpreters, to a pair of classes with setters and getters. This will make it significantly easier to plumb in new parameters in the future. A further CL will revamp the existing code to use this new mechanism. BUG=576299 TBR=grt@chromium.org Committed: https://crrev.com/5a17ab25f51d52db128dae16a8d3efee441113b8 Cr-Commit-Position: refs/heads/master@{#368609}

Patch Set 1 #

Patch Set 2 : Added unittests. #

Total comments: 14

Patch Set 3 : Address comments on patchset 2. #

Patch Set 4 : Cleanup. #

Total comments: 18

Patch Set 5 : Address comments from patchset 4. #

Patch Set 6 : Fix unittests. #

Patch Set 7 : Rebased. #

Total comments: 14

Patch Set 8 : Address siggi's comments. #

Total comments: 2

Patch Set 9 : Fix outdated comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -45 lines) Patch
M chrome/app/chrome_watcher_command_line_unittest_win.cc View 1 2 1 chunk +0 lines, -38 lines 0 comments Download
M chrome/app/chrome_watcher_command_line_win.h View 1 2 3 4 5 6 7 8 1 chunk +90 lines, -4 lines 0 comments Download
M chrome/app/chrome_watcher_command_line_win.cc View 1 2 3 4 5 6 2 chunks +90 lines, -1 line 0 comments Download
A chrome/app/chrome_watcher_command_line_win_unittest.cc View 1 2 3 4 5 6 7 1 chunk +170 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 50 (19 generated)
chrisha
A first look at the API to see if we're on the same page? Once ...
5 years ago (2015-12-18 21:17:41 UTC) #3
chrisha
Now with unittests. PTAL?
5 years ago (2015-12-21 18:19:00 UTC) #4
grt (UTC plus 2)
looks pretty good https://codereview.chromium.org/1538923004/diff/20001/chrome/app/chrome_watcher_command_line_unittest_win.cc File chrome/app/chrome_watcher_command_line_unittest_win.cc (right): https://codereview.chromium.org/1538923004/diff/20001/chrome/app/chrome_watcher_command_line_unittest_win.cc#newcode1 chrome/app/chrome_watcher_command_line_unittest_win.cc:1: // Copyright (c) 2014 The Chromium ...
5 years ago (2015-12-21 20:19:07 UTC) #5
chrisha
Another look? https://codereview.chromium.org/1538923004/diff/20001/chrome/app/chrome_watcher_command_line_unittest_win.cc File chrome/app/chrome_watcher_command_line_unittest_win.cc (right): https://codereview.chromium.org/1538923004/diff/20001/chrome/app/chrome_watcher_command_line_unittest_win.cc#newcode1 chrome/app/chrome_watcher_command_line_unittest_win.cc:1: // Copyright (c) 2014 The Chromium Authors. ...
5 years ago (2015-12-21 23:25:30 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538923004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538923004/60001
5 years ago (2015-12-21 23:26:10 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-22 00:15:32 UTC) #10
grt (UTC plus 2)
https://codereview.chromium.org/1538923004/diff/60001/chrome/app/chrome_watcher_command_line_win.cc File chrome/app/chrome_watcher_command_line_win.cc (right): https://codereview.chromium.org/1538923004/diff/60001/chrome/app/chrome_watcher_command_line_win.cc#newcode106 chrome/app/chrome_watcher_command_line_win.cc:106: if (on_initialized_event_handle_.IsValid() || is this the same? CHECK(!on_initialized_event_handle_.IsValid() && ...
5 years ago (2015-12-22 16:31:32 UTC) #11
chrisha
Alright, all cleaned up. Another look? (Also, time for some new owners in here, given ...
5 years ago (2015-12-23 14:08:23 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538923004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538923004/80001
5 years ago (2015-12-23 14:09:03 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-23 14:55:30 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538923004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538923004/100001
5 years ago (2015-12-23 15:16:42 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-23 16:06:53 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-23 16:06:53 UTC) #21
chrisha
siggi: Care to take a last look at this? I'll land it TBR until grt@ ...
4 years, 11 months ago (2016-01-08 16:09:22 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538923004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538923004/120001
4 years, 11 months ago (2016-01-08 16:09:59 UTC) #24
Sigurður Ásgeirsson
like it, have a bunch-o-nits. https://codereview.chromium.org/1538923004/diff/120001/chrome/app/chrome_watcher_command_line_win.h File chrome/app/chrome_watcher_command_line_win.h (right): https://codereview.chromium.org/1538923004/diff/120001/chrome/app/chrome_watcher_command_line_win.h#newcode32 chrome/app/chrome_watcher_command_line_win.h:32: // failure. This can ...
4 years, 11 months ago (2016-01-08 16:55:19 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-08 16:56:04 UTC) #27
chrisha
Thanks for your comments Siggi. Another look? Also, brettw: Care to look as owner of ...
4 years, 11 months ago (2016-01-08 22:29:00 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538923004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538923004/140001
4 years, 11 months ago (2016-01-08 22:33:41 UTC) #31
brettw
There's no special ownership or extra review required for the BUILD files. I'm only an ...
4 years, 11 months ago (2016-01-08 22:41:56 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-09 00:39:24 UTC) #34
Sigurður Ásgeirsson
https://codereview.chromium.org/1538923004/diff/140001/chrome/app/chrome_watcher_command_line_win.h File chrome/app/chrome_watcher_command_line_win.h (right): https://codereview.chromium.org/1538923004/diff/140001/chrome/app/chrome_watcher_command_line_win.h#newcode51 chrome/app/chrome_watcher_command_line_win.h:51: // |inherited_handles_| that will be returned by |GetInheritedHandles|. no ...
4 years, 11 months ago (2016-01-11 16:04:04 UTC) #35
Sigurður Ásgeirsson
Other than the comment, lgtm
4 years, 11 months ago (2016-01-11 16:07:06 UTC) #36
chrisha
Yup, that comment was totally out of date. Care to take a look at the ...
4 years, 11 months ago (2016-01-11 16:07:32 UTC) #37
chrisha
Thanks, committing this TBR for Greg.
4 years, 11 months ago (2016-01-11 16:31:18 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538923004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538923004/160001
4 years, 11 months ago (2016-01-11 16:34:53 UTC) #42
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 11 months ago (2016-01-11 17:17:43 UTC) #44
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/5a17ab25f51d52db128dae16a8d3efee441113b8 Cr-Commit-Position: refs/heads/master@{#368609}
4 years, 11 months ago (2016-01-11 17:18:35 UTC) #46
Nico
can you fix: ..\..\chrome/app/chrome_watcher_command_line_win.h(24,1) : error: [chromium-style] Complex class/struct needs an explicit out-of-line destructor. class ...
4 years, 11 months ago (2016-01-11 18:39:02 UTC) #48
chrisha
On 2016/01/11 18:39:02, Nico wrote: > can you fix: > > ..\..\chrome/app/chrome_watcher_command_line_win.h(24,1) : error: > ...
4 years, 11 months ago (2016-01-11 19:01:13 UTC) #49
Nico
4 years, 11 months ago (2016-01-11 19:21:16 UTC) #50
Message was sent while issue was closed.
it's the clang/win bots; we don't have enough resources to have these as
default-on trybots i'm told :-/

Powered by Google App Engine
This is Rietveld 408576698