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

Issue 2860593003: Refactoring DownloadManager::DownloadURL to add proper annotation. (Closed)

Created:
3 years, 7 months ago by Ramin Halavati
Modified:
3 years, 6 months ago
CC:
battre, chromium-reviews, darin-cc_chromium.org, jam, msramek, rginda+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring DownloadManager::DownloadURL to add proper annotation. Refactoring DownloadManager::DownloadURL to add proper network traffic annotation. All changed files have received a NO_TRAFFIC_ANNOTATION_YET tag instead of proper annotation and will be annotated in next CLs. BUG=656607 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2860593003 Cr-Commit-Position: refs/heads/master@{#476312} Committed: https://chromium.googlesource.com/chromium/src/+/0fbaeef38e204c0a97c1792689a2d0fd4fb784ea

Patch Set 1 #

Total comments: 9

Patch Set 2 : Annotation moved to DownloadManager::DownloadUrl. #

Total comments: 4

Patch Set 3 : Comment addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -51 lines) Patch
M chrome/browser/android/download/download_controller.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 7 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/streams_private/streams_private_apitest.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M components/download/content/download_driver_impl.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M components/download/content/download_driver_impl.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M components/download/internal/download_driver.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M components/download/internal/test/test_download_driver.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M components/download/internal/test/test_download_driver.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/background_fetch/background_fetch_context.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/background_fetch/background_fetch_job_controller.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/background_fetch/background_fetch_job_controller.cc View 1 2 5 chunks +14 lines, -9 lines 0 comments Download
M content/browser/background_fetch/background_fetch_job_controller_unittest.cc View 1 4 chunks +7 lines, -3 lines 0 comments Download
M content/browser/background_fetch/background_fetch_test_base.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/download/download_browsertest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/download/download_manager_impl.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/download/download_request_core.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/download/download_request_core.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/download/download_request_core_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/download/download_worker.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/download/drag_download_file.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_message_filter.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/indexed_db/indexed_db_internals_ui.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/public/browser/download_manager.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M content/public/test/mock_download_manager.h View 1 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 41 (26 generated)
Ramin Halavati
We are annotating all network requests in Chromium with a new NetworkTrafficAnnotation scheme. This allows ...
3 years, 7 months ago (2017-05-03 07:49:29 UTC) #2
Ramin Halavati
On 2017/05/03 07:49:29, Ramin Halavati wrote: > We are annotating all network requests in Chromium ...
3 years, 7 months ago (2017-05-10 07:09:45 UTC) #3
David Trainor- moved to gerrit
On 2017/05/10 07:09:45, Ramin Halavati wrote: > On 2017/05/03 07:49:29, Ramin Halavati wrote: > > ...
3 years, 7 months ago (2017-05-10 20:09:12 UTC) #4
David Trainor- moved to gerrit
might need to add some plumbing to do this right. some internal services will use ...
3 years, 7 months ago (2017-05-11 20:27:52 UTC) #5
Ramin Halavati
On 2017/05/11 20:27:52, David Trainor-ping if over 24h wrote: > might need to add some ...
3 years, 7 months ago (2017-05-18 05:23:06 UTC) #6
David Trainor- moved to gerrit
Yeah we probably have to push these out to the callers. That's a good idea. ...
3 years, 7 months ago (2017-05-23 01:07:40 UTC) #7
Ramin Halavati
Hi David, I moved the annotation to DownloadManager::DownloadURL, also removed save_file_manager.cc from this CL to ...
3 years, 6 months ago (2017-05-29 08:36:49 UTC) #26
David Trainor- moved to gerrit
lgtm % nit. Adding peter@ for bgfetch. https://codereview.chromium.org/2860593003/diff/120001/content/public/browser/download_manager.h File content/public/browser/download_manager.h (right): https://codereview.chromium.org/2860593003/diff/120001/content/public/browser/download_manager.h#newcode126 content/public/browser/download_manager.h:126: const net::NetworkTrafficAnnotationTag& ...
3 years, 6 months ago (2017-05-30 16:35:57 UTC) #29
Ramin Halavati
Thank you David, comment addressed, please review. Jochen, Peter, I've added network traffic annotation to ...
3 years, 6 months ago (2017-05-31 05:16:01 UTC) #31
David Trainor- moved to gerrit
On 2017/05/31 05:16:01, Ramin Halavati wrote: > Thank you David, comment addressed, please review. > ...
3 years, 6 months ago (2017-05-31 06:42:36 UTC) #32
jochen (gone - plz use gerrit)
lgtm
3 years, 6 months ago (2017-06-01 13:21:08 UTC) #33
Peter Beverloo
lgtm https://codereview.chromium.org/2860593003/diff/120001/content/browser/background_fetch/background_fetch_job_controller.cc File content/browser/background_fetch/background_fetch_job_controller.cc (right): https://codereview.chromium.org/2860593003/diff/120001/content/browser/background_fetch/background_fetch_job_controller.cc#newcode262 content/browser/background_fetch/background_fetch_job_controller.cc:262: NO_TRAFFIC_ANNOTATION_YET)); should this be |traffic_annotation|? In the longer ...
3 years, 6 months ago (2017-06-01 14:17:06 UTC) #34
Ramin Halavati
Thank you Jochen, Peter. All comments addressed, landing. https://codereview.chromium.org/2860593003/diff/120001/content/browser/background_fetch/background_fetch_job_controller.cc File content/browser/background_fetch/background_fetch_job_controller.cc (right): https://codereview.chromium.org/2860593003/diff/120001/content/browser/background_fetch/background_fetch_job_controller.cc#newcode262 content/browser/background_fetch/background_fetch_job_controller.cc:262: NO_TRAFFIC_ANNOTATION_YET)); ...
3 years, 6 months ago (2017-06-01 14:35:54 UTC) #35
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/2860593003/140001
3 years, 6 months ago (2017-06-01 14:36:23 UTC) #38
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 15:56:46 UTC) #41
Message was sent while issue was closed.
Committed patchset #3 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/0fbaeef38e204c0a97c1792689a2...

Powered by Google App Engine
This is Rietveld 408576698