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

Issue 2740473002: DownloadManagerController now uses WebState (Closed)

Created:
3 years, 9 months ago by pkl (ping after 24h if needed)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DownloadManagerController now uses WebState Instead of using StoreKitLauncher, DownloadManagerController can now get everything it needs from WebState. BUG=684063 Review-Url: https://codereview.chromium.org/2740473002 Cr-Commit-Position: refs/heads/master@{#455538} Committed: https://chromium.googlesource.com/chromium/src/+/998ad027faf59d366cd87996d3060e224d4609f1

Patch Set 1 #

Total comments: 10

Patch Set 2 : addressed comments from rohitrao & sdefresne #

Patch Set 3 : handles nil StoreKitTabHelper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -70 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 2 1 chunk +3 lines, -10 lines 0 comments Download
M ios/chrome/browser/ui/downloads/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/downloads/download_manager_controller.h View 1 2 chunks +8 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/downloads/download_manager_controller.mm View 1 2 8 chunks +25 lines, -19 lines 0 comments Download
M ios/chrome/browser/ui/downloads/download_manager_controller_unittest.mm View 3 chunks +12 lines, -29 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 12 (5 generated)
pkl (ping after 24h if needed)
PTAL. This is a continuation to use StoreKitTabHelper for everything.
3 years, 9 months ago (2017-03-07 02:35:54 UTC) #2
rohitrao (ping after 24h)
lgtm with a note for sdefresne https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/tabs/tab.mm File ios/chrome/browser/tabs/tab.mm (left): https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/tabs/tab.mm#oldcode1459 ios/chrome/browser/tabs/tab.mm:1459: return nil; There ...
3 years, 9 months ago (2017-03-07 13:51:22 UTC) #3
sdefresne
lgtm https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/ui/downloads/download_manager_controller.h File ios/chrome/browser/ui/downloads/download_manager_controller.h (right): https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/ui/downloads/download_manager_controller.h#newcode27 ios/chrome/browser/ui/downloads/download_manager_controller.h:27: - (id)initWithWebState:(web::WebState*)webState downloadURL:(const GURL&)url; nit: can you use ...
3 years, 9 months ago (2017-03-07 17:15:49 UTC) #4
pkl (ping after 24h if needed)
Thank you! Addressed comments. Will land after https://codereview.chromium.org/2731553005/ https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/tabs/tab.mm File ios/chrome/browser/tabs/tab.mm (right): https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/tabs/tab.mm#newcode1455 ios/chrome/browser/tabs/tab.mm:1455: [[[DownloadManagerController ...
3 years, 9 months ago (2017-03-07 22:07:19 UTC) #5
pkl (ping after 24h if needed)
https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/tabs/tab.mm File ios/chrome/browser/tabs/tab.mm (left): https://codereview.chromium.org/2740473002/diff/1/ios/chrome/browser/tabs/tab.mm#oldcode1459 ios/chrome/browser/tabs/tab.mm:1459: return nil; On 2017/03/07 13:51:22, rohitrao wrote: > There ...
3 years, 9 months ago (2017-03-07 22:22:02 UTC) #6
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/2740473002/40001
3 years, 9 months ago (2017-03-08 17:47:26 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 20:52:03 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/998ad027faf59d366cd87996d306...

Powered by Google App Engine
This is Rietveld 408576698