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

Issue 11112022: Add DownloadControllerAndroid public interface for android. (Closed)

Created:
8 years, 2 months ago by nilesh
Modified:
8 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Add DownloadControllerAndroid public interface for android. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161964

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved the methods out to concrete implementations. #

Patch Set 3 : Removed extra include #

Total comments: 7

Patch Set 4 : Addressed joth's comments. #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : Adding OWNERS file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -560 lines) Patch
M android_webview/native/aw_web_contents_delegate.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M android_webview/native/aw_web_contents_delegate.cc View 1 2 3 4 5 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_web_contents_delegate_android.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_web_contents_delegate_android.cc View 1 2 3 4 5 2 chunks +21 lines, -0 lines 0 comments Download
A chrome/browser/component/web_contents_delegate_android/OWNERS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc View 1 2 3 chunks +0 lines, -30 lines 0 comments Download
M content/browser/android/browser_jni_registrar.cc View 2 chunks +3 lines, -3 lines 0 comments Download
D content/browser/android/download_controller.h View 1 chunk +0 lines, -129 lines 0 comments Download
D content/browser/android/download_controller.cc View 1 chunk +0 lines, -333 lines 0 comments Download
A + content/browser/android/download_controller_android_impl.h View 4 chunks +24 lines, -26 lines 0 comments Download
A + content/browser/android/download_controller_android_impl.cc View 17 chunks +39 lines, -31 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +3 lines, -2 lines 0 comments Download
A content/public/browser/android/download_controller_android.h View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
nilesh
PTAL.
8 years, 2 months ago (2012-10-12 18:48:29 UTC) #1
joth
lg, I only skimmed the moved/renamed classes http://codereview.chromium.org/11112022/diff/1/chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc File chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc (right): http://codereview.chromium.org/11112022/diff/1/chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc#newcode294 chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc:294: source, download); ...
8 years, 2 months ago (2012-10-12 18:55:13 UTC) #2
boliu
lgtm but I'm not an owner :) Would suggest trying the android_fyi_dbg bot since it ...
8 years, 2 months ago (2012-10-12 19:11:02 UTC) #3
nilesh
Addressed comments. PTAL http://codereview.chromium.org/11112022/diff/1/chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc File chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc (right): http://codereview.chromium.org/11112022/diff/1/chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc#newcode294 chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc:294: source, download); I assume the plan ...
8 years, 2 months ago (2012-10-12 19:23:22 UTC) #4
nilesh
Avi for content/content_browser.gypi OWNER
8 years, 2 months ago (2012-10-12 19:24:56 UTC) #5
nilesh
Joi for chrome/browser/component
8 years, 2 months ago (2012-10-12 20:30:52 UTC) #6
Avi (use Gerrit)
This touches content API; I'd like John to take a look.
8 years, 2 months ago (2012-10-12 20:35:11 UTC) #7
Avi (use Gerrit)
8 years, 2 months ago (2012-10-12 20:35:24 UTC) #8
joth
On 2012/10/12 19:23:22, nileshagrawal1 wrote: > Addressed comments. PTAL > > http://codereview.chromium.org/11112022/diff/1/chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.cc > File > ...
8 years, 2 months ago (2012-10-12 20:50:03 UTC) #9
nilesh
PTAL. http://codereview.chromium.org/11112022/diff/16002/android_webview/native/aw_web_contents_delegate.cc File android_webview/native/aw_web_contents_delegate.cc (right): http://codereview.chromium.org/11112022/diff/16002/android_webview/native/aw_web_contents_delegate.cc#newcode12 android_webview/native/aw_web_contents_delegate.cc:12: #include "content/public/browser/download_item.h" On 2012/10/12 20:50:03, joth wrote: > ...
8 years, 2 months ago (2012-10-12 21:07:45 UTC) #10
nilesh
http://codereview.chromium.org/11112022/diff/16002/android_webview/native/aw_web_contents_delegate.cc File android_webview/native/aw_web_contents_delegate.cc (right): http://codereview.chromium.org/11112022/diff/16002/android_webview/native/aw_web_contents_delegate.cc#newcode61 android_webview/native/aw_web_contents_delegate.cc:61: return true; I think you meant return false always, ...
8 years, 2 months ago (2012-10-12 21:31:18 UTC) #11
joth
On 2012/10/12 21:31:18, nileshagrawal1 wrote: > http://codereview.chromium.org/11112022/diff/16002/android_webview/native/aw_web_contents_delegate.cc > File android_webview/native/aw_web_contents_delegate.cc (right): > > http://codereview.chromium.org/11112022/diff/16002/android_webview/native/aw_web_contents_delegate.cc#newcode61 > ...
8 years, 2 months ago (2012-10-12 21:33:26 UTC) #12
nilesh
On 2012/10/12 21:33:26, joth wrote: > On 2012/10/12 21:31:18, nileshagrawal1 wrote: > > > http://codereview.chromium.org/11112022/diff/16002/android_webview/native/aw_web_contents_delegate.cc ...
8 years, 2 months ago (2012-10-12 21:38:11 UTC) #13
joth
lgtm http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc File android_webview/native/aw_web_contents_delegate.cc (right): http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc#newcode56 android_webview/native/aw_web_contents_delegate.cc:56: bool AwWebContentsDelegate::CanDownload(content::RenderViewHost* source, as per my comment over ...
8 years, 2 months ago (2012-10-12 23:03:48 UTC) #14
joth
or rather than TODO, i can just raise a bug. On 12 October 2012 16:03, ...
8 years, 2 months ago (2012-10-12 23:04:41 UTC) #15
nilesh
http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc File android_webview/native/aw_web_contents_delegate.cc (right): http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc#newcode56 android_webview/native/aw_web_contents_delegate.cc:56: bool AwWebContentsDelegate::CanDownload(content::RenderViewHost* source, This will only be called if ...
8 years, 2 months ago (2012-10-12 23:10:16 UTC) #16
Jói
Please add an appropriate OWNERS file to chrome/browser/component/web_contents_delegate_android. I've asked for this as a "to ...
8 years, 2 months ago (2012-10-13 15:20:22 UTC) #17
jam
content lgtm http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc File android_webview/native/aw_web_contents_delegate.cc (right): http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc#newcode18 android_webview/native/aw_web_contents_delegate.cc:18: class DownloadItem; nit: unnecessary http://codereview.chromium.org/11112022/diff/34001/chrome/browser/android/chrome_web_contents_delegate_android.cc File chrome/browser/android/chrome_web_contents_delegate_android.cc ...
8 years, 2 months ago (2012-10-15 06:45:04 UTC) #18
nilesh
John- Addressed nits. Joi,joth - Added OWNERS file, PTAL http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc File android_webview/native/aw_web_contents_delegate.cc (right): http://codereview.chromium.org/11112022/diff/34001/android_webview/native/aw_web_contents_delegate.cc#newcode18 android_webview/native/aw_web_contents_delegate.cc:18: ...
8 years, 2 months ago (2012-10-15 17:13:51 UTC) #19
Jói
LGTM
8 years, 2 months ago (2012-10-15 17:14:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nileshagrawal@chromium.org/11112022/39001
8 years, 2 months ago (2012-10-15 19:05:55 UTC) #21
commit-bot: I haz the power
8 years, 2 months ago (2012-10-15 21:22:59 UTC) #22
Change committed as 161964

Powered by Google App Engine
This is Rietveld 408576698