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

Issue 2613803005: [win] Enable ModuleDatabase behind a flag. (Closed)

Created:
3 years, 11 months ago by chrisha
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable ModuleDatabase behind a flag. This plumbs together the various pieces of the ModuleDatabase, enabling it in an observation mode behind a feature flag. Further CLs will port over the various bits of module inspection logic from EnumerateModulesModel, and finally switch chrome://conflicts to source its data from here. BUG=662084 Review-Url: https://codereview.chromium.org/2613803005 Cr-Commit-Position: refs/heads/master@{#444534} Committed: https://chromium.googlesource.com/chromium/src/+/927d8fea13c6aa514afb44e8273ae5f85225cb64

Patch Set 1 #

Total comments: 36

Patch Set 2 : Address grt's comments. #

Total comments: 2

Patch Set 3 : Address grt's nits, more comments. #

Total comments: 2

Patch Set 4 : Address sky's nit. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -19 lines) Patch
M chrome/browser/chrome_browser_field_trials_desktop.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 5 chunks +66 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/conflicts/module_database_win.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/conflicts/module_database_win.cc View 1 2 3 1 chunk +20 lines, -1 line 0 comments Download
M chrome/browser/conflicts/module_event_sink_impl_win.h View 1 4 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/conflicts/module_event_sink_impl_win.cc View 1 2 3 chunks +18 lines, -17 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 2 chunks +44 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
chrisha
grt, wfh: this is the next step of https://codereview.chromium.org/2576843002/
3 years, 11 months ago (2017-01-05 15:52:38 UTC) #2
chrisha
This is the next step of https://codereview.chromium.org/2576843002/. Feel free to take a look.
3 years, 11 months ago (2017-01-05 15:57:44 UTC) #4
grt (UTC plus 2)
looks pretty good. this is some neat stuff. https://codereview.chromium.org/2613803005/diff/1/chrome/browser/chrome_browser_field_trials_desktop.cc File chrome/browser/chrome_browser_field_trials_desktop.cc (right): https://codereview.chromium.org/2613803005/diff/1/chrome/browser/chrome_browser_field_trials_desktop.cc#newcode151 chrome/browser/chrome_browser_field_trials_desktop.cc:151: base::FeatureList::IsEnabled(features::kModuleDatabase); ...
3 years, 11 months ago (2017-01-06 09:44:58 UTC) #5
chrisha
Thanks for the review! https://codereview.chromium.org/2613803005/diff/1/chrome/browser/chrome_browser_field_trials_desktop.cc File chrome/browser/chrome_browser_field_trials_desktop.cc (right): https://codereview.chromium.org/2613803005/diff/1/chrome/browser/chrome_browser_field_trials_desktop.cc#newcode151 chrome/browser/chrome_browser_field_trials_desktop.cc:151: base::FeatureList::IsEnabled(features::kModuleDatabase); On 2017/01/06 09:44:57, grt ...
3 years, 11 months ago (2017-01-10 21:01:46 UTC) #6
Will Harris
all this base::Unretained is giving me the "heebie jeebies" but I'm assuming grt@ has looked ...
3 years, 11 months ago (2017-01-10 23:58:40 UTC) #7
grt (UTC plus 2)
https://codereview.chromium.org/2613803005/diff/1/chrome/browser/conflicts/module_event_sink_impl_win.cc File chrome/browser/conflicts/module_event_sink_impl_win.cc (right): https://codereview.chromium.org/2613803005/diff/1/chrome/browser/conflicts/module_event_sink_impl_win.cc#newcode125 chrome/browser/conflicts/module_event_sink_impl_win.cc:125: base::ProcessHandle process = get_process_handle.Run(); On 2017/01/10 21:01:46, chrisha (slow) ...
3 years, 11 months ago (2017-01-11 15:07:54 UTC) #8
chrisha
Thanks wfh and grt. I've added verbose comments for each use of "base::Unretained" to hopefully ...
3 years, 11 months ago (2017-01-11 21:14:11 UTC) #9
grt (UTC plus 2)
lgtm
3 years, 11 months ago (2017-01-12 10:50:11 UTC) #10
chrisha
sky: Care to take a look at this, given that you have context?
3 years, 11 months ago (2017-01-13 20:46:05 UTC) #12
Will Harris
token lgtm; I don't think there's anything here I particularly need to look at since ...
3 years, 11 months ago (2017-01-13 22:33:21 UTC) #13
sky
LGTM https://codereview.chromium.org/2613803005/diff/40001/chrome/browser/chrome_browser_main_win.h File chrome/browser/chrome_browser_main_win.h (right): https://codereview.chromium.org/2613803005/diff/40001/chrome/browser/chrome_browser_main_win.h#newcode13 chrome/browser/chrome_browser_main_win.h:13: #include "chrome/common/conflicts/module_watcher_win.h" Can you forward declare ModuleWatcher?
3 years, 11 months ago (2017-01-13 23:58:43 UTC) #14
chrisha
Thanks all. https://codereview.chromium.org/2613803005/diff/40001/chrome/browser/chrome_browser_main_win.h File chrome/browser/chrome_browser_main_win.h (right): https://codereview.chromium.org/2613803005/diff/40001/chrome/browser/chrome_browser_main_win.h#newcode13 chrome/browser/chrome_browser_main_win.h:13: #include "chrome/common/conflicts/module_watcher_win.h" On 2017/01/13 23:58:43, sky wrote: ...
3 years, 11 months ago (2017-01-18 22:20:02 UTC) #15
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/2613803005/70001
3 years, 11 months ago (2017-01-18 22:20:42 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 23:10:28 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://chromium.googlesource.com/chromium/src/+/927d8fea13c6aa514afb44e8273a...

Powered by Google App Engine
This is Rietveld 408576698