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

Issue 2893233002: Network traffic annotation added to URLLoaderImpl. (Closed)

Created:
3 years, 7 months ago by Ramin Halavati
Modified:
3 years, 6 months ago
CC:
asanka, battre, chromium-reviews, darin-cc_chromium.org, jam, msramek, Randy Smith (Not in Mondays)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Network traffic annotation added to URLLoaderImpl. Network traffic annotation is added to network request of: content/network/url_loader_impl.cc BUG=656607 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2893233002 Cr-Commit-Position: refs/heads/master@{#478588} Committed: https://chromium.googlesource.com/chromium/src/+/4cda417b683318c0c8ca8a0ef2a94ebc4ee5bea8

Patch Set 1 #

Patch Set 2 : Transfered annotation to an argument of CreateLoaderAndStart method. #

Patch Set 3 : Merged. #

Patch Set 4 : Type corrected in param_traits. #

Patch Set 5 : Merged. #

Patch Set 6 : Mutable network traffic annotation added. #

Total comments: 8

Patch Set 7 : Comments addressed. #

Total comments: 6

Patch Set 8 : Comments addressed and Merged. #

Patch Set 9 : param_traits moved. #

Patch Set 10 : Rebased. #

Total comments: 4

Patch Set 11 : Changed ParamTraits to StructTraits. #

Total comments: 10

Patch Set 12 : Merged. #

Patch Set 13 : All comments addressed. #

Total comments: 2

Patch Set 14 : Comment addressed, Merged. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -86 lines) Patch
M content/browser/appcache/appcache_url_loader_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/appcache/appcache_url_loader_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/blob_storage/blob_url_loader_factory.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/blob_storage/blob_url_loader_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/blob_storage/blob_url_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/loader/mojo_async_resource_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/loader/navigation_url_loader_network_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +15 lines, -10 lines 0 comments Download
M content/browser/loader/resource_message_filter.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/loader/resource_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -7 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -4 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 chunks +37 lines, -27 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/webui/web_ui_url_loader_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/child/url_loader_client_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -1 line 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
A content/common/mutable_network_traffic_annotation_tag.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +9 lines, -0 lines 0 comments Download
A content/common/mutable_network_traffic_annotation_tag.typemap View 1 2 3 4 5 6 7 8 9 10 1 chunk +10 lines, -0 lines 0 comments Download
A content/common/mutable_network_traffic_annotation_tag_struct_traits.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +31 lines, -0 lines 0 comments Download
M content/common/throttling_url_loader.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -2 lines 0 comments Download
M content/common/throttling_url_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +10 lines, -6 lines 0 comments Download
M content/common/throttling_url_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -2 lines 0 comments Download
M content/common/typemaps.gni View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/common/url_loader_factory.mojom View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M content/network/network_service_url_loader_factory_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download
M content/network/network_service_url_loader_factory_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
M content/network/url_loader_impl.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M content/network/url_loader_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M content/network/url_loader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M net/traffic_annotation/network_traffic_annotation.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +56 lines, -4 lines 0 comments Download

Messages

Total messages: 112 (76 generated)
Ramin Halavati
Matt, Could you please suggest annotations for this class? Or should it be moved to ...
3 years, 7 months ago (2017-05-22 08:15:25 UTC) #2
mmenke
On 2017/05/22 08:15:25, Ramin Halavati wrote: > Matt, > > Could you please suggest annotations ...
3 years, 7 months ago (2017-05-22 15:26:54 UTC) #3
Ramin Halavati
On 2017/05/22 15:26:54, mmenke wrote: > On 2017/05/22 08:15:25, Ramin Halavati wrote: > > Matt, ...
3 years, 7 months ago (2017-05-22 16:30:56 UTC) #4
mmenke
On 2017/05/22 16:30:56, Ramin Halavati wrote: > On 2017/05/22 15:26:54, mmenke wrote: > > On ...
3 years, 7 months ago (2017-05-22 16:40:00 UTC) #5
Ramin Halavati
On 2017/05/22 16:40:00, mmenke wrote: > On 2017/05/22 16:30:56, Ramin Halavati wrote: > > On ...
3 years, 7 months ago (2017-05-22 16:44:03 UTC) #6
mmenke
On 2017/05/22 16:44:03, Ramin Halavati wrote: > On 2017/05/22 16:40:00, mmenke wrote: > > On ...
3 years, 7 months ago (2017-05-22 16:46:05 UTC) #7
Ramin Halavati
Matt, Changed the CL to get the annotation from CreateLoaderAndStart method. To avoid requiring many ...
3 years, 7 months ago (2017-05-23 13:53:20 UTC) #21
mmenke
On 2017/05/23 13:53:20, Ramin Halavati wrote: > Matt, > > Changed the CL to get ...
3 years, 6 months ago (2017-05-25 19:31:07 UTC) #26
Ramin Halavati
On 2017/05/25 19:31:07, mmenke wrote: > On 2017/05/23 13:53:20, Ramin Halavati wrote: > > Matt, ...
3 years, 6 months ago (2017-05-26 07:43:05 UTC) #32
estark
cc/ipc lgtm for security, but I'm not sure about your default initialization question. Adding blundell@ ...
3 years, 6 months ago (2017-06-01 00:22:48 UTC) #47
Ramin Halavati
Thank you Emily. Colin, Do you have any suggestions for an alternative solution which doesn't ...
3 years, 6 months ago (2017-06-01 10:24:32 UTC) #51
blundell
blundell@ -> yzshen@ Yuzhu, there's the following question on this CL: "The gen/content/common/url_loader_factory.mojom.cc file that ...
3 years, 6 months ago (2017-06-01 11:26:53 UTC) #53
battre
LGTM with some comments. I think this is not pretty but the best workaround I ...
3 years, 6 months ago (2017-06-01 12:36:36 UTC) #56
Ramin Halavati
Thank you Dominic, all comments addressed. https://codereview.chromium.org/2893233002/diff/200001/cc/ipc/cc_param_traits.cc File cc/ipc/cc_param_traits.cc (right): https://codereview.chromium.org/2893233002/diff/200001/cc/ipc/cc_param_traits.cc#newcode1074 cc/ipc/cc_param_traits.cc:1074: l->append("("); On 2017/06/01 ...
3 years, 6 months ago (2017-06-01 13:14:27 UTC) #58
yzshen1
On 2017/06/01 11:26:53, blundell wrote: > blundell@ -> yzshen@ > > Yuzhu, there's the following ...
3 years, 6 months ago (2017-06-01 16:03:54 UTC) #62
yzshen1
Some drive-by comments: https://codereview.chromium.org/2893233002/diff/220001/cc/ipc/cc_param_traits.cc File cc/ipc/cc_param_traits.cc (right): https://codereview.chromium.org/2893233002/diff/220001/cc/ipc/cc_param_traits.cc#newcode1016 cc/ipc/cc_param_traits.cc:1016: new (p) net::MutableNetworkTrafficAnnotationTag({unique_id_hash_code}); This means the ...
3 years, 6 months ago (2017-06-01 16:04:27 UTC) #63
Ramin Halavati
On 2017/06/01 16:04:27, yzshen1 wrote: > Some drive-by comments: > > https://codereview.chromium.org/2893233002/diff/220001/cc/ipc/cc_param_traits.cc > File cc/ipc/cc_param_traits.cc ...
3 years, 6 months ago (2017-06-01 19:24:08 UTC) #64
Ramin Halavati
Yuzhu, All comments addressed, please review. https://codereview.chromium.org/2893233002/diff/220001/cc/ipc/cc_param_traits.cc File cc/ipc/cc_param_traits.cc (right): https://codereview.chromium.org/2893233002/diff/220001/cc/ipc/cc_param_traits.cc#newcode1016 cc/ipc/cc_param_traits.cc:1016: new (p) net::MutableNetworkTrafficAnnotationTag({unique_id_hash_code}); ...
3 years, 6 months ago (2017-06-02 07:47:06 UTC) #65
blundell
On 2017/06/02 07:47:06, Ramin Halavati wrote: > Yuzhu, > > All comments addressed, please review. ...
3 years, 6 months ago (2017-06-02 10:54:58 UTC) #66
Ramin Halavati
On 2017/06/02 10:54:58, blundell wrote: > On 2017/06/02 07:47:06, Ramin Halavati wrote: > > Yuzhu, ...
3 years, 6 months ago (2017-06-02 12:40:33 UTC) #71
yzshen1
Thanks Colin! That was what I meant. :) https://codereview.chromium.org/2893233002/diff/320001/content/common/network_traffic_annotation_param_traits.h File content/common/network_traffic_annotation_param_traits.h (right): https://codereview.chromium.org/2893233002/diff/320001/content/common/network_traffic_annotation_param_traits.h#newcode20 content/common/network_traffic_annotation_param_traits.h:20: struct ...
3 years, 6 months ago (2017-06-02 15:06:18 UTC) #78
Ramin Halavati
Thank you. Comments addressed, please review. https://codereview.chromium.org/2893233002/diff/320001/content/common/network_traffic_annotation_param_traits.h File content/common/network_traffic_annotation_param_traits.h (right): https://codereview.chromium.org/2893233002/diff/320001/content/common/network_traffic_annotation_param_traits.h#newcode20 content/common/network_traffic_annotation_param_traits.h:20: struct CC_IPC_EXPORT ParamTraits<net::MutableNetworkTrafficAnnotationTag> ...
3 years, 6 months ago (2017-06-02 16:46:03 UTC) #79
yzshen1
On 2017/06/02 16:46:03, Ramin Halavati wrote: > Thank you. Comments addressed, please review. > > ...
3 years, 6 months ago (2017-06-05 16:56:00 UTC) #80
yzshen1
On 2017/06/02 16:46:03, Ramin Halavati wrote: > Thank you. Comments addressed, please review. > > ...
3 years, 6 months ago (2017-06-05 16:56:01 UTC) #81
blundell
On 2017/06/05 16:56:00, yzshen1 wrote: > On 2017/06/02 16:46:03, Ramin Halavati wrote: > > Thank ...
3 years, 6 months ago (2017-06-06 07:33:52 UTC) #82
Ramin Halavati
Thank you Colin, Yuzhu, Removed partial and change ParamTraits to StructTraits. Please review.
3 years, 6 months ago (2017-06-06 10:25:40 UTC) #87
yzshen1
On 2017/06/06 10:25:40, Ramin Halavati wrote: > Thank you Colin, Yuzhu, > > Removed partial ...
3 years, 6 months ago (2017-06-06 15:54:32 UTC) #90
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/2893233002/380001
3 years, 6 months ago (2017-06-06 16:29:28 UTC) #93
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/456731)
3 years, 6 months ago (2017-06-06 16:39:06 UTC) #95
Ramin Halavati
Thank you. Jochen, Please take a look, I've add annotation to CreateLoaderAndStart (through Mojo interface), ...
3 years, 6 months ago (2017-06-07 05:03:50 UTC) #97
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2893233002/diff/380001/content/browser/appcache/appcache_url_loader_factory.cc File content/browser/appcache/appcache_url_loader_factory.cc (right): https://codereview.chromium.org/2893233002/diff/380001/content/browser/appcache/appcache_url_loader_factory.cc#newcode100 content/browser/appcache/appcache_url_loader_factory.cc:100: net::MutableNetworkTrafficAnnotationTag(NO_TRAFFIC_ANNOTATION_YET)); why is this not using traffic_annotation_? https://codereview.chromium.org/2893233002/diff/380001/content/browser/loader/resource_message_filter.cc File ...
3 years, 6 months ago (2017-06-08 17:00:58 UTC) #98
Ramin Halavati
Thank Jochen, All comments addressed, please review. https://codereview.chromium.org/2893233002/diff/380001/content/browser/appcache/appcache_url_loader_factory.cc File content/browser/appcache/appcache_url_loader_factory.cc (right): https://codereview.chromium.org/2893233002/diff/380001/content/browser/appcache/appcache_url_loader_factory.cc#newcode100 content/browser/appcache/appcache_url_loader_factory.cc:100: net::MutableNetworkTrafficAnnotationTag(NO_TRAFFIC_ANNOTATION_YET)); On ...
3 years, 6 months ago (2017-06-09 07:08:53 UTC) #100
jochen (gone - plz use gerrit)
lgtm with comment https://codereview.chromium.org/2893233002/diff/440001/net/traffic_annotation/network_traffic_annotation.h File net/traffic_annotation/network_traffic_annotation.h (right): https://codereview.chromium.org/2893233002/diff/440001/net/traffic_annotation/network_traffic_annotation.h#newcode41 net/traffic_annotation/network_traffic_annotation.h:41: #ifndef NDEBUG can you keep the ...
3 years, 6 months ago (2017-06-12 08:34:25 UTC) #105
Ramin Halavati
Thank you Jochen, comment addressed, landing. https://codereview.chromium.org/2893233002/diff/440001/net/traffic_annotation/network_traffic_annotation.h File net/traffic_annotation/network_traffic_annotation.h (right): https://codereview.chromium.org/2893233002/diff/440001/net/traffic_annotation/network_traffic_annotation.h#newcode41 net/traffic_annotation/network_traffic_annotation.h:41: #ifndef NDEBUG On ...
3 years, 6 months ago (2017-06-12 09:04:55 UTC) #106
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/2893233002/460001
3 years, 6 months ago (2017-06-12 09:05:16 UTC) #109
commit-bot: I haz the power
3 years, 6 months ago (2017-06-12 11:00:43 UTC) #112
Message was sent while issue was closed.
Committed patchset #14 (id:460001) as
https://chromium.googlesource.com/chromium/src/+/4cda417b683318c0c8ca8a0ef2a9...

Powered by Google App Engine
This is Rietveld 408576698