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

Issue 1530403003: Add anonymizer tool (Closed)

Created:
5 years ago by battre
Modified:
4 years, 11 months ago
Reviewers:
rkc, vasilii, Nico, agl, bsimonnet
CC:
chromium-reviews, blundell+watchlist_chromium.org, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, afakhry
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add anonymizer tool This CL adds an anonymizer class that has been written for ChromeOS log files. This will be extended in the future to remove more PII, in particular emails. BUG=567870 Committed: https://crrev.com/4cdaa7cf7778a0fc5e7987942a04a42354e95e40 Cr-Commit-Position: refs/heads/master@{#368052}

Patch Set 1 #

Total comments: 32

Patch Set 2 : Addressed Vasilii's comments #

Total comments: 2

Patch Set 3 : Addressed comments #

Patch Set 4 : fix mistake #

Patch Set 5 : Addressed comments #

Total comments: 1

Patch Set 6 : Typo #

Patch Set 7 : Fix dependency #

Patch Set 8 : Fix FilePath creation #

Patch Set 9 : Moved location of scrubbing #

Total comments: 2

Patch Set 10 : Nit #

Patch Set 11 : Rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -38 lines) Patch
M chrome/browser/feedback/system_logs/about_system_logs_fetcher.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/feedback/system_logs/scrubbed_system_logs_fetcher.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/feedback/system_logs/scrubbed_system_logs_fetcher.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/feedback/system_logs/system_logs_fetcher_base.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -5 lines 0 comments Download
M chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +14 lines, -3 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M components/feedback.gypi View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M components/feedback/BUILD.gn View 7 8 3 chunks +4 lines, -0 lines 0 comments Download
M components/feedback/DEPS View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M components/feedback/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
A components/feedback/anonymizer_tool.h View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
A components/feedback/anonymizer_tool.cc View 1 2 3 4 5 6 7 8 1 chunk +151 lines, -0 lines 0 comments Download
A components/feedback/anonymizer_tool_unittest.cc View 1 1 chunk +109 lines, -0 lines 0 comments Download
M components/feedback/feedback_common_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +27 lines, -26 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
battre
Hi Vasilii, could you please review this? The AnonymizerTool has been taken from go/ozanr and ...
5 years ago (2015-12-17 09:57:29 UTC) #3
vasilii
https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc File components/feedback/anonymizer_tool.cc (right): https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc#newcode55 components/feedback/anonymizer_tool.cc:55: anonymized = AnonymizeCustomPatterns(anonymized); Looking at the implementation you should ...
5 years ago (2015-12-17 12:40:37 UTC) #4
battre
Thanks for the review. PTAL. https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc File components/feedback/anonymizer_tool.cc (right): https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc#newcode55 components/feedback/anonymizer_tool.cc:55: anonymized = AnonymizeCustomPatterns(anonymized); On ...
5 years ago (2015-12-17 13:24:24 UTC) #5
vasilii
https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc File components/feedback/anonymizer_tool.cc (right): https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc#newcode55 components/feedback/anonymizer_tool.cc:55: anonymized = AnonymizeCustomPatterns(anonymized); On 2015/12/17 13:24:24, battre wrote: > ...
5 years ago (2015-12-17 13:39:05 UTC) #6
battre
Thank you. I have addressed your comments. https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc File components/feedback/anonymizer_tool.cc (right): https://codereview.chromium.org/1530403003/diff/1/components/feedback/anonymizer_tool.cc#newcode55 components/feedback/anonymizer_tool.cc:55: anonymized = ...
5 years ago (2015-12-17 14:34:56 UTC) #7
vasilii
lgtm https://codereview.chromium.org/1530403003/diff/80001/components/feedback/anonymizer_tool.h File components/feedback/anonymizer_tool.h (right): https://codereview.chromium.org/1530403003/diff/80001/components/feedback/anonymizer_tool.h#newcode37 components/feedback/anonymizer_tool.h:37: // where the frist three bytes represent the ...
5 years ago (2015-12-17 14:38:23 UTC) #8
battre
Hi. could you please review this CL? thakis for OWNERS approval of adding RE2 to ...
5 years ago (2015-12-17 14:43:12 UTC) #10
battre
Just when you thought you had them all... bsimonnet for owners approval to components/feedback.gypi changes. ...
5 years ago (2015-12-17 14:45:46 UTC) #12
bsimonnet
On 2015/12/17 14:45:46, battre wrote: > Just when you thought you had them all... > ...
5 years ago (2015-12-17 16:37:52 UTC) #13
agl
LGTM for using zlib.
5 years ago (2015-12-17 16:42:53 UTC) #14
battre
friendly ping at rkc@
5 years ago (2015-12-21 10:50:11 UTC) #15
Nico
re2 dep lgtm
5 years ago (2015-12-21 19:13:29 UTC) #16
rkc
(+afakhry for FYI) (sorry for the late review, I was out sick all of last ...
5 years ago (2015-12-21 19:36:36 UTC) #17
battre
I have moved the scrubbing as you suggested. I have left the AnonymizerTool in the ...
5 years ago (2015-12-22 10:29:31 UTC) #18
battre
@rkc: Just a ping to bring this up in your inbox after the vacation. Thanks ...
4 years, 11 months ago (2016-01-04 13:18:12 UTC) #19
rkc
lgtm https://codereview.chromium.org/1530403003/diff/160001/chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc File chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc (right): https://codereview.chromium.org/1530403003/diff/160001/chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc#newcode53 chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc:53: void SystemLogsFetcherBase::Rewrite(const std::string& source_name, Nit: /* source_name */ ...
4 years, 11 months ago (2016-01-06 18:43:28 UTC) #20
battre
Thank you https://codereview.chromium.org/1530403003/diff/160001/chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc File chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc (right): https://codereview.chromium.org/1530403003/diff/160001/chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc#newcode53 chrome/browser/feedback/system_logs/system_logs_fetcher_base.cc:53: void SystemLogsFetcherBase::Rewrite(const std::string& source_name, On 2016/01/06 18:43:28, ...
4 years, 11 months ago (2016-01-07 09:54:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530403003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530403003/180001
4 years, 11 months ago (2016-01-07 09:58:10 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/113821) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 11 months ago (2016-01-07 09:59:51 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1530403003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1530403003/200001
4 years, 11 months ago (2016-01-07 10:27:56 UTC) #29
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 11 months ago (2016-01-07 11:30:37 UTC) #31
commit-bot: I haz the power
4 years, 11 months ago (2016-01-07 11:31:31 UTC) #33
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/4cdaa7cf7778a0fc5e7987942a04a42354e95e40
Cr-Commit-Position: refs/heads/master@{#368052}

Powered by Google App Engine
This is Rietveld 408576698