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 2911633002: Expanding traffic_annotation_extractor clang tool to extract network calls. (Closed)

Created:
3 years, 6 months ago by Ramin Halavati
Modified:
3 years, 6 months ago
Reviewers:
msramek, dcheng
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Expanding traffic_annotation_extractor clang tool to extract network calls. To implement presubmit and unittest checks for network traffic annotations, traffic_annotation_extractor clang tool is expanded to find and report calls to network request function that require annotations. BUG=656607 Review-Url: https://codereview.chromium.org/2911633002 Cr-Commit-Position: refs/heads/master@{#475426} Committed: https://chromium.googlesource.com/chromium/src/+/46e2d63b6f5aaa82d170338f4571cffb1505b5f8

Patch Set 1 #

Total comments: 6

Patch Set 2 : Clang tool updated. #

Total comments: 4

Patch Set 3 : Clang tool updated. #

Total comments: 22

Patch Set 4 : Comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -122 lines) Patch
M tools/clang/traffic_annotation_extractor/README.md View 1 2 3 1 chunk +22 lines, -12 lines 0 comments Download
M tools/clang/traffic_annotation_extractor/traffic_annotation_extractor.cpp View 1 2 3 10 chunks +154 lines, -60 lines 0 comments Download
M tools/traffic_annotation/auditor/traffic_annotation_auditor.py View 1 2 3 3 chunks +70 lines, -50 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Ramin Halavati
Hi Daniel, I've updated traffic_annotation_extractor clang tool to find network request functions that need network ...
3 years, 6 months ago (2017-05-26 12:53:33 UTC) #4
dcheng
Caveats: I'm basically assuming the code works as advertised. Might be good to have some ...
3 years, 6 months ago (2017-05-27 08:27:46 UTC) #5
Ramin Halavati
Thank you very much Daniel, comment addressed. About adding tests, to run the tool on ...
3 years, 6 months ago (2017-05-29 08:13:28 UTC) #7
dcheng
LGTM On 2017/05/29 08:13:28, Ramin Halavati wrote: > Thank you very much Daniel, comment addressed. ...
3 years, 6 months ago (2017-05-29 08:28:00 UTC) #8
Ramin Halavati
Thank you Daniel, comments addressed. Is compile_commands.json the only requirement to run the clang tool ...
3 years, 6 months ago (2017-05-29 09:14:02 UTC) #9
msramek
The usual disclaimer that I'm not a native English speaker, but I added some suggestions ...
3 years, 6 months ago (2017-05-29 21:03:37 UTC) #10
Ramin Halavati
Thank you Martin, all comments addressed. https://codereview.chromium.org/2911633002/diff/80001/tools/clang/traffic_annotation_extractor/README.md File tools/clang/traffic_annotation_extractor/README.md (right): https://codereview.chromium.org/2911633002/diff/80001/tools/clang/traffic_annotation_extractor/README.md#newcode35 tools/clang/traffic_annotation_extractor/README.md:35: - Line 3: ...
3 years, 6 months ago (2017-05-30 04:40:37 UTC) #11
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/2911633002/100001
3 years, 6 months ago (2017-05-30 04:41:04 UTC) #14
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 04:52:17 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/46e2d63b6f5aaa82d170338f4571...

Powered by Google App Engine
This is Rietveld 408576698