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

Issue 2009773007: Add AntiVirus information to the system profile. (Closed)

Created:
4 years, 7 months ago by Will Harris
Modified:
4 years, 6 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add AntiVirus information to the system profile. Collection happens after Google Update data has been collected and before drive metrics data, on the FILE thread. BUG=615154 TEST=unit_tests TEST=manual, check system profile contains AV information via logging. Committed: https://crrev.com/c768983fac1178f0219e1f7aab38200c7d87d8b4 Cr-Commit-Position: refs/heads/master@{#398597}

Patch Set 1 #

Patch Set 2 : fix tabs #

Patch Set 3 : rejig task posting #

Patch Set 4 : better test #

Patch Set 5 : full test #

Patch Set 6 : clang fix. check task always runs even on win7 #

Patch Set 7 : rebase and fix clang #

Patch Set 8 : hash the product name and version #

Total comments: 19

Patch Set 9 : rebase #

Patch Set 10 : code review fixes #

Total comments: 26

Patch Set 11 : code review fixes part 2 #

Total comments: 12

Patch Set 12 : code review fixes part 3 #

Patch Set 13 : add constexpr member definition #

Patch Set 14 : no need for const constexpr #

Patch Set 15 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+560 lines, -3 lines) Patch
A chrome/browser/metrics/antivirus_metrics_provider_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/browser/metrics/antivirus_metrics_provider_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +257 lines, -0 lines 0 comments Download
A chrome/browser/metrics/antivirus_metrics_provider_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +118 lines, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.h View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/proto/system_profile.proto View 1 2 3 4 5 6 7 8 9 10 2 chunks +40 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (9 generated)
Will Harris
PTAL If you're happy with the proto I will draft a second internal CL for ...
4 years, 6 months ago (2016-06-01 00:15:47 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode35 chrome/browser/metrics/antivirus_metrics_provider_win.cc:35: namespace metrics { Only things in components/metrics should be ...
4 years, 6 months ago (2016-06-01 20:42:35 UTC) #7
Will Harris
https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode44 chrome/browser/metrics/antivirus_metrics_provider_win.cc:44: chrome::GetChannel() == version_info::Channel::UNKNOWN) { On 2016/06/01 20:42:35, Alexei Svitkine ...
4 years, 6 months ago (2016-06-01 23:57:08 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode44 chrome/browser/metrics/antivirus_metrics_provider_win.cc:44: chrome::GetChannel() == version_info::Channel::UNKNOWN) { On 2016/06/01 23:57:08, Will Harris ...
4 years, 6 months ago (2016-06-02 15:17:18 UTC) #9
Will Harris
all done. PTAL. https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode35 chrome/browser/metrics/antivirus_metrics_provider_win.cc:35: namespace metrics { On 2016/06/01 20:42:34, ...
4 years, 6 months ago (2016-06-02 20:36:27 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode35 chrome/browser/metrics/antivirus_metrics_provider_win.cc:35: namespace metrics { On 2016/06/02 20:36:26, Will Harris wrote: ...
4 years, 6 months ago (2016-06-02 21:46:57 UTC) #12
Will Harris
another round, thanks for being patient :) https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/140001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode35 chrome/browser/metrics/antivirus_metrics_provider_win.cc:35: namespace metrics ...
4 years, 6 months ago (2016-06-02 23:57:18 UTC) #13
Alexei Svitkine (slow)
Thanks, almost there! Can you prepare an internal CL with the same proto changes in ...
4 years, 6 months ago (2016-06-03 15:48:34 UTC) #14
Will Harris
are you looking at the right ps? https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode198 chrome/browser/metrics/antivirus_metrics_provider_win.cc:198: metrics::SystemProfileProto::AntiVirusState_MAX) { ...
4 years, 6 months ago (2016-06-03 16:01:21 UTC) #15
Alexei Svitkine (slow)
https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode198 chrome/browser/metrics/antivirus_metrics_provider_win.cc:198: metrics::SystemProfileProto::AntiVirusState_MAX) { On 2016/06/03 16:01:21, Will Harris wrote: > ...
4 years, 6 months ago (2016-06-03 16:14:15 UTC) #16
Will Harris
https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode198 chrome/browser/metrics/antivirus_metrics_provider_win.cc:198: metrics::SystemProfileProto::AntiVirusState_MAX) { On 2016/06/03 16:14:15, Alexei Svitkine (slow) wrote: ...
4 years, 6 months ago (2016-06-03 16:28:56 UTC) #17
Alexei Svitkine (slow)
https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/200001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode198 chrome/browser/metrics/antivirus_metrics_provider_win.cc:198: metrics::SystemProfileProto::AntiVirusState_MAX) { On 2016/06/03 16:28:56, Will Harris wrote: > ...
4 years, 6 months ago (2016-06-03 16:57:03 UTC) #18
Will Harris
getting closer... :) https://codereview.chromium.org/2009773007/diff/220001/chrome/browser/metrics/antivirus_metrics_provider_win.cc File chrome/browser/metrics/antivirus_metrics_provider_win.cc (right): https://codereview.chromium.org/2009773007/diff/220001/chrome/browser/metrics/antivirus_metrics_provider_win.cc#newcode117 chrome/browser/metrics/antivirus_metrics_provider_win.cc:117: *product = std::move(av_product); On 2016/06/03 15:48:33, ...
4 years, 6 months ago (2016-06-03 20:51:30 UTC) #19
Alexei Svitkine (slow)
Looks good. Will wait for the internal proto cl to land first before l-g-t-m-ing.
4 years, 6 months ago (2016-06-06 15:55:27 UTC) #20
Alexei Svitkine (slow)
lgtm
4 years, 6 months ago (2016-06-08 13:56:23 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2009773007/300001
4 years, 6 months ago (2016-06-08 16:35:02 UTC) #23
commit-bot: I haz the power
Committed patchset #15 (id:300001)
4 years, 6 months ago (2016-06-08 16:40:46 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 16:42:36 UTC) #27
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/c768983fac1178f0219e1f7aab38200c7d87d8b4
Cr-Commit-Position: refs/heads/master@{#398597}

Powered by Google App Engine
This is Rietveld 408576698