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

Issue 2707363004: Network traffic annotation added to sync. (Closed)

Created:
3 years, 10 months ago by Ramin Halavati
Modified:
3 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sync-reviews_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Network traffic annotation added to sync. Network traffic annotation is added to network request of sync. BUG=656607 Review-Url: https://codereview.chromium.org/2707363004 Cr-Commit-Position: refs/heads/master@{#455732} Committed: https://chromium.googlesource.com/chromium/src/+/75a414cfbc5ef07035f7e5ce184059a1061fa044

Patch Set 1 #

Total comments: 14

Patch Set 2 : Annotations updated. #

Patch Set 3 : nits #

Total comments: 2

Patch Set 4 : Annotation updated. #

Total comments: 9

Patch Set 5 : Comments addressed. #

Patch Set 6 : policy changed to chrome_policy. #

Patch Set 7 : policy changed to chrome_policy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -6 lines) Patch
M components/sync/driver/sync_stopped_reporter.cc View 1 2 3 4 5 2 chunks +24 lines, -2 lines 0 comments Download
M components/sync/engine/net/http_bridge.cc View 1 2 3 4 5 2 chunks +30 lines, -1 line 0 comments Download
M components/sync/engine_impl/attachments/attachment_downloader_impl.cc View 1 2 3 4 5 2 chunks +30 lines, -2 lines 0 comments Download
M components/sync/engine_impl/attachments/attachment_uploader_impl.cc View 1 2 3 4 5 2 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 34 (11 generated)
Ramin Halavati
We are annotating all network requests in Chromium with a new NetworkTrafficAnnotation scheme. This allows ...
3 years, 10 months ago (2017-02-23 12:51:51 UTC) #2
stanisc
zea@, could you please review this one?
3 years, 10 months ago (2017-02-23 21:28:24 UTC) #4
Nicolas Zea
One comment. Also, have you given thought to perhaps combining this annotation with the data ...
3 years, 10 months ago (2017-02-23 22:15:54 UTC) #5
Ramin Halavati
https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc File components/sync/driver/sync_stopped_reporter.cc (right): https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc#newcode66 components/sync/driver/sync_stopped_reporter.cc:66: net::DefineNetworkTrafficAnnotation("...", R"( On 2017/02/23 22:15:54, Nicolas Zea wrote: > ...
3 years, 10 months ago (2017-02-24 07:53:03 UTC) #6
Nicolas Zea
https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc File components/sync/driver/sync_stopped_reporter.cc (right): https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc#newcode66 components/sync/driver/sync_stopped_reporter.cc:66: net::DefineNetworkTrafficAnnotation("...", R"( I was just thinking have the R"..." ...
3 years, 10 months ago (2017-02-24 20:37:38 UTC) #7
Ramin Halavati
https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc File components/sync/driver/sync_stopped_reporter.cc (right): https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc#newcode66 components/sync/driver/sync_stopped_reporter.cc:66: net::DefineNetworkTrafficAnnotation("...", R"( On 2017/02/24 20:37:38, Nicolas Zea wrote: > ...
3 years, 9 months ago (2017-02-27 09:23:17 UTC) #9
Nicolas Zea
On 2017/02/27 09:23:17, Ramin Halavati wrote: > https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc > File components/sync/driver/sync_stopped_reporter.cc (right): > > https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc#newcode66 ...
3 years, 9 months ago (2017-02-28 22:00:59 UTC) #10
Ramin Halavati
On 2017/02/28 22:00:59, Nicolas Zea wrote: > On 2017/02/27 09:23:17, Ramin Halavati wrote: > > ...
3 years, 9 months ago (2017-03-01 07:23:15 UTC) #11
Nicolas Zea
On 2017/03/01 07:23:15, Ramin Halavati wrote: > On 2017/02/28 22:00:59, Nicolas Zea wrote: > > ...
3 years, 9 months ago (2017-03-03 19:09:51 UTC) #12
Nicolas Zea
Hey, Pavel just explained to me the purpose of this change, and that you actually ...
3 years, 9 months ago (2017-03-03 22:39:56 UTC) #13
Ramin Halavati
Annotations updated, please review. https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc File components/sync/driver/sync_stopped_reporter.cc (right): https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc#newcode68 components/sync/driver/sync_stopped_reporter.cc:68: sender: "..." On 2017/03/03 22:39:55, ...
3 years, 9 months ago (2017-03-06 06:55:46 UTC) #14
Nicolas Zea
https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc File components/sync/driver/sync_stopped_reporter.cc (right): https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc#newcode68 components/sync/driver/sync_stopped_reporter.cc:68: sender: "..." On 2017/03/06 06:55:45, Ramin Halavati wrote: > ...
3 years, 9 months ago (2017-03-06 17:49:20 UTC) #15
Nicolas Zea
https://codereview.chromium.org/2707363004/diff/40001/components/sync/engine/net/http_bridge.cc File components/sync/engine/net/http_bridge.cc (right): https://codereview.chromium.org/2707363004/diff/40001/components/sync/engine/net/http_bridge.cc#newcode255 components/sync/engine/net/http_bridge.cc:255: setting: "This feature cannot be disabled by settings." Looks ...
3 years, 9 months ago (2017-03-06 17:56:35 UTC) #16
Ramin Halavati
Annotations updated, please review. https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc File components/sync/driver/sync_stopped_reporter.cc (right): https://codereview.chromium.org/2707363004/diff/1/components/sync/driver/sync_stopped_reporter.cc#newcode68 components/sync/driver/sync_stopped_reporter.cc:68: sender: "..." On 2017/03/06 17:49:20, ...
3 years, 9 months ago (2017-03-07 08:53:47 UTC) #17
Nicolas Zea
lgtm
3 years, 9 months ago (2017-03-07 20:35:12 UTC) #18
Ramin Halavati
Thank you.
3 years, 9 months ago (2017-03-08 09:16:10 UTC) #20
msramek
https://codereview.chromium.org/2707363004/diff/60001/components/sync/engine/net/http_bridge.cc File components/sync/engine/net/http_bridge.cc (right): https://codereview.chromium.org/2707363004/diff/60001/components/sync/engine/net/http_bridge.cc#newcode238 components/sync/engine/net/http_bridge.cc:238: net::NetworkTrafficAnnotationTag traffic_annotation = Is it possible toe extract this ...
3 years, 9 months ago (2017-03-09 12:02:32 UTC) #21
Ramin Halavati
Comments addressed, please review. https://codereview.chromium.org/2707363004/diff/60001/components/sync/engine/net/http_bridge.cc File components/sync/engine/net/http_bridge.cc (right): https://codereview.chromium.org/2707363004/diff/60001/components/sync/engine/net/http_bridge.cc#newcode238 components/sync/engine/net/http_bridge.cc:238: net::NetworkTrafficAnnotationTag traffic_annotation = On 2017/03/09 ...
3 years, 9 months ago (2017-03-09 12:31:21 UTC) #22
msramek
LGTM https://codereview.chromium.org/2707363004/diff/60001/components/sync/engine/net/http_bridge.cc File components/sync/engine/net/http_bridge.cc (right): https://codereview.chromium.org/2707363004/diff/60001/components/sync/engine/net/http_bridge.cc#newcode238 components/sync/engine/net/http_bridge.cc:238: net::NetworkTrafficAnnotationTag traffic_annotation = On 2017/03/09 12:31:20, Ramin Halavati ...
3 years, 9 months ago (2017-03-09 12:38:05 UTC) #23
commit-bot: I haz the power
This CL has an open dependency (Issue 2729423003 Patch 1). Please resolve the dependency and ...
3 years, 9 months ago (2017-03-09 12:41:47 UTC) #27
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/2707363004/120001
3 years, 9 months ago (2017-03-09 12:55:40 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/75a414cfbc5ef07035f7e5ce184059a1061fa044
3 years, 9 months ago (2017-03-09 13:57:26 UTC) #33
Nicolas Zea
3 years, 9 months ago (2017-03-09 18:22:32 UTC) #34
Message was sent while issue was closed.
Yeah, FWIW the attachments code is something that we're likely to remove in the
near future as it's not in use anywhere. As such I don't feel strongly about
pulling out the strings into a separate file.

Powered by Google App Engine
This is Rietveld 408576698