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

Issue 85693005: Android: refactors printing code & adds a test (Closed)

Created:
7 years ago by cimamoglu (inactive)
Modified:
7 years ago
Reviewers:
whywhat, cimamoglu1, bulach
CC:
chromium-reviews, Miguel Garcia, nyquist
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Android: refactors printing code & adds a test Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238776

Patch Set 1 #

Total comments: 16

Patch Set 2 : Address Marcus & Anton comments, findbugs issues #

Total comments: 14

Patch Set 3 : Address final comments #

Patch Set 4 : Fix findbugs errors #

Patch Set 5 : Findbugs fixes #

Patch Set 6 : Don't run the test if the device doesn't have KitKat #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -16 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/printing/PrintingControllerFactory.java View 1 2 chunks +3 lines, -2 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java View 1 2 3 4 5 1 chunk +245 lines, -0 lines 0 comments Download
A printing/android/java/src/org/chromium/printing/PrintDocumentAdapterWrapper.java View 1 2 3 4 1 chunk +145 lines, -0 lines 0 comments Download
M printing/android/java/src/org/chromium/printing/PrintingControllerImpl.java View 1 11 chunks +25 lines, -14 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
cimamoglu1
7 years ago (2013-11-25 20:11:54 UTC) #1
whywhat
lgtm +Tommy since I don't have enough Java expertise (esp. for Chromium Test Shell tests) ...
7 years ago (2013-11-25 21:17:00 UTC) #2
whywhat
On 2013/11/25 21:17:00, whywhat wrote: > lgtm > > +Tommy since I don't have enough ...
7 years ago (2013-11-26 16:39:09 UTC) #3
whywhat
Marcus, could you take a look?
7 years ago (2013-11-27 10:26:40 UTC) #4
bulach
sorry, I can't quite get my head around the adapters and wrappers... I think it ...
7 years ago (2013-11-27 17:45:04 UTC) #5
whywhat
On 2013/11/27 17:45:04, bulach wrote: > sorry, I can't quite get my head around the ...
7 years ago (2013-11-27 17:49:33 UTC) #6
bulach
thanks for the clarification! I should've read (and remembered what cihat told me last week). ...
7 years ago (2013-11-27 19:26:03 UTC) #7
cimamoglu1
Addressed comments. One issue regarding bulach@ 's request: I did refactor as you suggested, but ...
7 years ago (2013-11-28 20:29:14 UTC) #8
bulach
lgtm, neat, thanks! this will hopefully allow us to test those pathological cases you mentioned ...
7 years ago (2013-11-29 14:20:53 UTC) #9
whywhat
LGTM with a few nits and "what Marcus said" (c) Do you think the chromiumtestshell_instrumentation_tests ...
7 years ago (2013-11-29 14:46:13 UTC) #10
cimamoglu1
https://codereview.chromium.org/85693005/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java (right): https://codereview.chromium.org/85693005/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java#newcode23 chrome/android/javatests/src/org/chromium/chrome/browser/printing/PrintingControllerTest.java:23: import org.chromium.printing.PrintDocumentAdapterWrapper.LayoutResultCallbackWrapper; On 2013/11/29 14:20:54, bulach wrote: > nit: ...
7 years ago (2013-12-02 10:59:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cimamoglu@chromium.org/85693005/40001
7 years ago (2013-12-02 10:59:24 UTC) #12
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=127706
7 years ago (2013-12-02 12:24:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cimamoglu@chromium.org/85693005/50001
7 years ago (2013-12-02 14:11:19 UTC) #14
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=127734
7 years ago (2013-12-02 15:46:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cimamoglu@chromium.org/85693005/70001
7 years ago (2013-12-02 16:11:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cimamoglu@chromium.org/85693005/90001
7 years ago (2013-12-04 17:00:17 UTC) #18
commit-bot: I haz the power
7 years ago (2013-12-04 21:28:59 UTC) #19
Message was sent while issue was closed.
Change committed as 238776

Powered by Google App Engine
This is Rietveld 408576698