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

Issue 2946983002: Move eventlog_provider from //base/win to //chrome/common/win (Closed)

Created:
3 years, 6 months ago by proberge
Modified:
3 years, 6 months ago
CC:
chromium-reviews, grt+watch_chromium.org, danakj+watch_chromium.org, vmpstr+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move eventlog_provider from //base/win to //chrome/common/win. This removes a //chrome dependency in base (process_version_rc_template), allowing //base to be used by targets that do not have access to //chrome. BUG=642115 TEST=eventlog_provider.dll is installed and SYSLOG works. Review-Url: https://codereview.chromium.org/2946983002 Cr-Commit-Position: refs/heads/master@{#481878} Committed: https://chromium.googlesource.com/chromium/src/+/fe47600213937d47019402f8bda6198c464d37b3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move eventlog files to chrome/common/win, change SetEventSourceName to take in the category and eveā€¦ #

Patch Set 3 : Add dep to chrome:common #

Total comments: 24

Patch Set 4 : Address review comments on #3 #

Total comments: 4

Patch Set 5 : Address review comments on #4 #

Total comments: 2

Patch Set 6 : Address review comments on #5 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -68 lines) Patch
M BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M base/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M base/syslog_logging.h View 1 2 3 4 5 2 chunks +11 lines, -4 lines 0 comments Download
M base/syslog_logging.cc View 1 2 3 4 5 4 chunks +16 lines, -11 lines 0 comments Download
M base/win/BUILD.gn View 1 2 chunks +0 lines, -40 lines 0 comments Download
D base/win/eventlog_messages.mc View 1 Binary file 0 comments Download
D base/win/eventlog_provider.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download
D base/win/eventlog_provider.ver View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/logging_chrome.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
A chrome/common/win/BUILD.gn View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A + chrome/common/win/eventlog_messages.mc View 1 Binary file 0 comments Download
A + chrome/common/win/eventlog_provider.cc View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/common/win/eventlog_provider.ver View 1 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 32 (14 generated)
grt (UTC plus 2)
https://codereview.chromium.org/2946983002/diff/1/base/win/BUILD.gn File base/win/BUILD.gn (right): https://codereview.chromium.org/2946983002/diff/1/base/win/BUILD.gn#newcode31 base/win/BUILD.gn:31: "//chrome:eventlog_provider", this still has a dependency on chrome in ...
3 years, 6 months ago (2017-06-21 09:30:44 UTC) #3
proberge
https://codereview.chromium.org/2946983002/diff/1/base/win/BUILD.gn File base/win/BUILD.gn (right): https://codereview.chromium.org/2946983002/diff/1/base/win/BUILD.gn#newcode31 base/win/BUILD.gn:31: "//chrome:eventlog_provider", On 2017/06/21 09:30:44, grt (UTC plus 2) wrote: ...
3 years, 6 months ago (2017-06-21 19:10:05 UTC) #4
proberge
++pastarmovj who added this class. PTAL
3 years, 6 months ago (2017-06-21 19:13:47 UTC) #6
grt (UTC plus 2)
this looks pretty good to me. could you update the CL description? https://codereview.chromium.org/2946983002/diff/40001/base/syslog_logging.cc File base/syslog_logging.cc ...
3 years, 6 months ago (2017-06-21 20:26:15 UTC) #7
proberge
Thanks for the great review! (as usual) https://codereview.chromium.org/2946983002/diff/40001/base/syslog_logging.cc File base/syslog_logging.cc (right): https://codereview.chromium.org/2946983002/diff/40001/base/syslog_logging.cc#newcode6 base/syslog_logging.cc:6: #include "base/syslog_logging.h" ...
3 years, 6 months ago (2017-06-21 21:33:39 UTC) #8
grt (UTC plus 2)
lgtm w/ an is_win deps block. thanks! https://codereview.chromium.org/2946983002/diff/40001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/2946983002/diff/40001/chrome/common/BUILD.gn#newcode182 chrome/common/BUILD.gn:182: "//chrome/common/win:eventlog_messages", On ...
3 years, 6 months ago (2017-06-21 21:48:02 UTC) #10
grt (UTC plus 2)
regarding the CL description, is the following sufficient: Move eventlog_provider from //base/win to //chrome/common/win. This ...
3 years, 6 months ago (2017-06-21 21:53:17 UTC) #11
proberge
Thanks! https://codereview.chromium.org/2946983002/diff/40001/chrome/common/BUILD.gn File chrome/common/BUILD.gn (right): https://codereview.chromium.org/2946983002/diff/40001/chrome/common/BUILD.gn#newcode182 chrome/common/BUILD.gn:182: "//chrome/common/win:eventlog_messages", On 2017/06/21 21:48:01, grt (UTC plus 2) ...
3 years, 6 months ago (2017-06-22 14:35:47 UTC) #13
pastarmovj
Thanks for the cleanup! :) LGTM
3 years, 6 months ago (2017-06-22 19:04:14 UTC) #14
proberge
++thakis for //base, //chrome and //BUILD.gn approval
3 years, 6 months ago (2017-06-22 19:09:12 UTC) #16
Nico
lgtm Can you expand on "This allows //base to be used by targets that do ...
3 years, 6 months ago (2017-06-22 19:40:27 UTC) #17
proberge
On 2017/06/22 19:40:27, Nico wrote: > lgtm > > Can you expand on "This allows ...
3 years, 6 months ago (2017-06-22 20:13:11 UTC) #20
proberge
Thanks for the quick review! https://codereview.chromium.org/2946983002/diff/80001/base/syslog_logging.h File base/syslog_logging.h (right): https://codereview.chromium.org/2946983002/diff/80001/base/syslog_logging.h#newcode33 base/syslog_logging.h:33: DWORD event_id); On 2017/06/22 ...
3 years, 6 months ago (2017-06-22 20:13:23 UTC) #21
Nico
lgtm++ Scary that we let that dependency in! Let me start a thread on gn-dev ...
3 years, 6 months ago (2017-06-22 20:17:26 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/2946983002/100001
3 years, 6 months ago (2017-06-22 20:23:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/485940)
3 years, 6 months ago (2017-06-22 23:02:39 UTC) #27
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/2946983002/100001
3 years, 6 months ago (2017-06-23 13:24:26 UTC) #29
commit-bot: I haz the power
3 years, 6 months ago (2017-06-23 14:29:22 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/fe47600213937d47019402f8bda6...

Powered by Google App Engine
This is Rietveld 408576698