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

Issue 2728323002: Network traffic annotation added to drive/base_requests. (Closed)

Created:
3 years, 9 months ago by Ramin Halavati
Modified:
3 years, 9 months ago
Reviewers:
kinuko, msramek, kinaba, battre, tzik
CC:
chromium-reviews, yamaguchi+watch_chromium.org, oka+watch_chromium.org, fukino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Network traffic annotation added to drive/base_requests. Network traffic annotation is added to network request of drive/base_requests. BUG=656607 Review-Url: https://codereview.chromium.org/2728323002 Cr-Commit-Position: refs/heads/master@{#457028} Committed: https://chromium.googlesource.com/chromium/src/+/74805ef21d813e8745a18ec0722f772e39515ec4

Patch Set 1 #

Patch Set 2 : Annotation moved. #

Patch Set 3 : Unittests added. #

Patch Set 4 : nits #

Patch Set 5 : Comments addressed. #

Patch Set 6 : NOT_ANNOTATED_YET tag updated. #

Total comments: 18

Patch Set 7 : Annoatation udpated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -49 lines) Patch
M chrome/browser/apps/drive/drive_service_bridge.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_integration_service.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine.cc View 1 2 3 4 5 6 3 chunks +26 lines, -1 line 0 comments Download
M components/drive/service/drive_api_service.h View 1 3 chunks +11 lines, -7 lines 0 comments Download
M components/drive/service/drive_api_service.cc View 1 2 chunks +10 lines, -11 lines 0 comments Download
M components/drive/service/drive_api_service_unittest.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M google_apis/drive/base_requests.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M google_apis/drive/base_requests_server_unittest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M google_apis/drive/base_requests_unittest.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M google_apis/drive/drive_api_requests_unittest.cc View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M google_apis/drive/files_list_request_runner_unittest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M google_apis/drive/request_sender.h View 1 4 chunks +10 lines, -1 line 0 comments Download
M google_apis/drive/request_sender.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M google_apis/drive/request_sender_unittest.cc View 1 2 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 38 (16 generated)
Ramin Halavati
We are annotating all network requests in Chromium with a new NetworkTrafficAnnotation scheme. This allows ...
3 years, 9 months ago (2017-03-06 08:09:46 UTC) #2
kinaba
+kinuko, To me it looks we should have separate annotation for * Google Drive integration ...
3 years, 9 months ago (2017-03-06 08:32:20 UTC) #4
Ramin Halavati
On 2017/03/06 08:32:20, kinaba wrote: > +kinuko, > > To me it looks we should ...
3 years, 9 months ago (2017-03-06 08:58:52 UTC) #5
kinaba
On 2017/03/06 08:58:52, Ramin Halavati wrote: > Is it sufficient if annotation would be added ...
3 years, 9 months ago (2017-03-06 11:44:26 UTC) #6
Ramin Halavati
NetworkTrafficAnnotaionTag moved to DeviceAPIService constructor and is passed to URLFetcher::Create through RequestSender object. I also ...
3 years, 9 months ago (2017-03-06 14:14:22 UTC) #7
kinaba
There are two more callers https://cs.chromium.org/chromium/src/chrome/browser/chromeos/drive/drive_integration_service.cc?q=new+DriveAPIService+package:%5Echromium$&l=262&dr=C https://cs.chromium.org/chromium/src/chrome/browser/apps/drive/drive_service_bridge.cc?type=cs&q=new+DriveAPIService+package:%5Echromium$&l=83
3 years, 9 months ago (2017-03-06 23:33:54 UTC) #8
Ramin Halavati
Comments addressed, please review and provide annotation for sync_engine.cc
3 years, 9 months ago (2017-03-07 10:27:04 UTC) #9
kinaba
+kinuko, +tzik, could you add comments for sync_engine.cc? LGTM for everywhere else, where I should ...
3 years, 9 months ago (2017-03-07 11:17:27 UTC) #11
kinaba
eh, compilation error, so it's meant to be NO_TRAFFIC_ANNOTATION_YET ?
3 years, 9 months ago (2017-03-07 11:43:02 UTC) #16
Ramin Halavati
On 2017/03/07 11:43:02, kinaba wrote: > eh, compilation error, so it's meant to be NO_TRAFFIC_ANNOTATION_YET ...
3 years, 9 months ago (2017-03-07 13:26:27 UTC) #17
Ramin Halavati
On 2017/03/07 13:26:27, Ramin Halavati wrote: > On 2017/03/07 11:43:02, kinaba wrote: > > eh, ...
3 years, 9 months ago (2017-03-07 13:27:23 UTC) #18
kinaba
On 2017/03/07 13:27:23, Ramin Halavati wrote: > On 2017/03/07 13:26:27, Ramin Halavati wrote: > > ...
3 years, 9 months ago (2017-03-07 13:29:57 UTC) #21
tzik
lgtm
3 years, 9 months ago (2017-03-07 13:37:43 UTC) #22
kinaba
On 2017/03/07 13:37:43, tzik wrote: > lgtm Hey, you are asked to fill the "..." ...
3 years, 9 months ago (2017-03-07 13:39:23 UTC) #23
tzik
https://codereview.chromium.org/2728323002/diff/100001/chrome/browser/sync_file_system/drive_backend/sync_engine.cc File chrome/browser/sync_file_system/drive_backend/sync_engine.cc (right): https://codereview.chromium.org/2728323002/diff/100001/chrome/browser/sync_file_system/drive_backend/sync_engine.cc#newcode71 chrome/browser/sync_file_system/drive_backend/sync_engine.cc:71: net::DefineNetworkTrafficAnnotation("...", R"( sync_file_system https://codereview.chromium.org/2728323002/diff/100001/chrome/browser/sync_file_system/drive_backend/sync_engine.cc#newcode73 chrome/browser/sync_file_system/drive_backend/sync_engine.cc:73: sender: "..." Sync FileSystem ...
3 years, 9 months ago (2017-03-08 05:30:34 UTC) #26
Ramin Halavati
Annotation updated, please review. https://codereview.chromium.org/2728323002/diff/100001/chrome/browser/sync_file_system/drive_backend/sync_engine.cc File chrome/browser/sync_file_system/drive_backend/sync_engine.cc (right): https://codereview.chromium.org/2728323002/diff/100001/chrome/browser/sync_file_system/drive_backend/sync_engine.cc#newcode71 chrome/browser/sync_file_system/drive_backend/sync_engine.cc:71: net::DefineNetworkTrafficAnnotation("...", R"( On 2017/03/08 05:30:34, ...
3 years, 9 months ago (2017-03-08 09:41:20 UTC) #27
Ramin Halavati
On 2017/03/08 09:41:20, Ramin Halavati wrote: > Annotation updated, please review. > > https://codereview.chromium.org/2728323002/diff/100001/chrome/browser/sync_file_system/drive_backend/sync_engine.cc > ...
3 years, 9 months ago (2017-03-14 11:46:20 UTC) #28
tzik
lgtm
3 years, 9 months ago (2017-03-14 11:55:03 UTC) #29
Ramin Halavati
Thank you. battre@, msramek@, Do you have any comments?
3 years, 9 months ago (2017-03-14 12:00:07 UTC) #31
msramek
LGTM
3 years, 9 months ago (2017-03-14 22:38:38 UTC) #32
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/2728323002/120001
3 years, 9 months ago (2017-03-15 06:38:57 UTC) #35
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 07:59:33 UTC) #38
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/74805ef21d813e8745a18ec0722f...

Powered by Google App Engine
This is Rietveld 408576698