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

Issue 2252963004: Remove dom_distiller core dependency on content (Closed)

Created:
4 years, 4 months ago by mdjones
Modified:
4 years, 3 months ago
Reviewers:
nyquist, blundell
CC:
chromium-reviews, droger+watchlist_chromium.org, sdefresne+watchlist_chromium.org, jam, darin-cc_chromium.org, mikecase+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove dom_distiller core dependency on content This change removes the top level android directory from dom_distiller and splits it into content/browser/android and core/android. The two directories now each have their own JNI registrar that allows them to depend on appropriate parts of the component. BUG=562769 TBR=yfriedman@chromium.org Committed: https://crrev.com/fd194b338274f4a2eba70021f739c3b93e07be99 Cr-Commit-Position: refs/heads/master@{#415400}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Patch Set 3 : fix deps issue #

Patch Set 4 : fix test deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -586 lines) Patch
M chrome/android/BUILD.gn View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/java/DEPS View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/android/javatests/DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
D components/dom_distiller/android/BUILD.gn View 1 chunk +0 lines, -60 lines 0 comments Download
D components/dom_distiller/android/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/dom_distiller/android/component_jni_registrar.h View 1 chunk +0 lines, -21 lines 0 comments Download
D components/dom_distiller/android/component_jni_registrar.cc View 1 chunk +0 lines, -37 lines 0 comments Download
D components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java View 1 chunk +0 lines, -64 lines 0 comments Download
D components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java View 1 chunk +0 lines, -149 lines 0 comments Download
D components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java View 1 chunk +0 lines, -49 lines 0 comments Download
D components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java View 1 chunk +0 lines, -79 lines 0 comments Download
D components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template View 1 chunk +0 lines, -37 lines 0 comments Download
D components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/Theme.template View 1 chunk +0 lines, -37 lines 0 comments Download
M components/dom_distiller/content/browser/BUILD.gn View 1 1 chunk +3 lines, -3 lines 0 comments Download
A components/dom_distiller/content/browser/android/BUILD.gn View 1 chunk +22 lines, -0 lines 0 comments Download
A + components/dom_distiller/content/browser/android/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A components/dom_distiller/content/browser/android/content_jni_registrar.h View 1 1 chunk +25 lines, -0 lines 0 comments Download
A + components/dom_distiller/content/browser/android/content_jni_registrar.cc View 1 2 chunks +6 lines, -9 lines 0 comments Download
A + components/dom_distiller/content/browser/android/java/src/org/chromium/components/dom_distiller/content/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/dom_distiller/content/browser/android/java/src/org/chromium/components/dom_distiller/content/DistillablePageUtils.java View 0 chunks +-1 lines, --1 lines 0 comments Download
M components/dom_distiller/core/BUILD.gn View 1 2 chunks +5 lines, -3 lines 0 comments Download
A + components/dom_distiller/core/android/BUILD.gn View 4 chunks +3 lines, -20 lines 0 comments Download
A + components/dom_distiller/core/android/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/dom_distiller/core/android/core_jni_registrar.h View 1 2 chunks +8 lines, -4 lines 0 comments Download
A + components/dom_distiller/core/android/core_jni_registrar.cc View 1 2 chunks +10 lines, -7 lines 0 comments Download
A + components/dom_distiller/core/android/java/src/org/chromium/components/dom_distiller/core/DistilledPagePrefs.java View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/dom_distiller/core/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerService.java View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/dom_distiller/core/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/dom_distiller/core/android/java/src/org/chromium/components/dom_distiller/core/FontFamily.template View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/dom_distiller/core/android/java/src/org/chromium/components/dom_distiller/core/Theme.template View 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/android/eclipse/.classpath View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (16 generated)
mdjones
ptal
4 years, 4 months ago (2016-08-18 01:07:14 UTC) #2
nyquist
lgtm https://codereview.chromium.org/2252963004/diff/1/components/dom_distiller/content/browser/android/component_jni_registrar.h File components/dom_distiller/content/browser/android/component_jni_registrar.h (right): https://codereview.chromium.org/2252963004/diff/1/components/dom_distiller/content/browser/android/component_jni_registrar.h#newcode5 components/dom_distiller/content/browser/android/component_jni_registrar.h:5: #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ How about content_jni_registrar? https://codereview.chromium.org/2252963004/diff/1/components/dom_distiller/core/android/component_jni_registrar.h File components/dom_distiller/core/android/component_jni_registrar.h ...
4 years, 4 months ago (2016-08-24 00:09:33 UTC) #3
mdjones
https://codereview.chromium.org/2252963004/diff/1/components/dom_distiller/content/browser/android/component_jni_registrar.h File components/dom_distiller/content/browser/android/component_jni_registrar.h (right): https://codereview.chromium.org/2252963004/diff/1/components/dom_distiller/content/browser/android/component_jni_registrar.h#newcode5 components/dom_distiller/content/browser/android/component_jni_registrar.h:5: #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_ANDROID_COMPONENT_JNI_REGISTRAR_H_ On 2016/08/24 00:09:32, nyquist wrote: > How ...
4 years, 4 months ago (2016-08-24 00:54:47 UTC) #4
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/2252963004/20001
4 years, 4 months ago (2016-08-24 00:56:05 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/244466)
4 years, 4 months ago (2016-08-24 01:05:22 UTC) #9
blundell
On 2016/08/24 01:05:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-08-24 08:24:54 UTC) #10
blundell
On 2016/08/24 08:24:54, blundell wrote: > On 2016/08/24 01:05:22, commit-bot: I haz the power wrote: ...
4 years, 4 months ago (2016-08-24 08:33:03 UTC) #11
nyquist
On 2016/08/24 08:33:03, blundell wrote: > On 2016/08/24 08:24:54, blundell wrote: > > On 2016/08/24 ...
4 years, 3 months ago (2016-08-24 21:20:55 UTC) #14
blundell
On 2016/08/24 21:20:55, nyquist wrote: > On 2016/08/24 08:33:03, blundell wrote: > > On 2016/08/24 ...
4 years, 3 months ago (2016-08-25 06:47:07 UTC) #15
nyquist
On 2016/08/25 06:47:07, blundell wrote: > On 2016/08/24 21:20:55, nyquist wrote: > > On 2016/08/24 ...
4 years, 3 months ago (2016-08-26 19:11:35 UTC) #16
blundell
On 2016/08/26 19:11:35, nyquist wrote: > On 2016/08/25 06:47:07, blundell wrote: > > On 2016/08/24 ...
4 years, 3 months ago (2016-08-29 07:11:36 UTC) #17
nyquist
On 2016/08/29 07:11:36, blundell wrote: > On 2016/08/26 19:11:35, nyquist wrote: > > On 2016/08/25 ...
4 years, 3 months ago (2016-08-29 18:05:35 UTC) #18
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/2252963004/20001
4 years, 3 months ago (2016-08-29 21:45:21 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/288539)
4 years, 3 months ago (2016-08-30 03:20:58 UTC) #23
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/2252963004/40001
4 years, 3 months ago (2016-08-30 17:36:52 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/289134)
4 years, 3 months ago (2016-08-30 18:27:57 UTC) #28
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/2252963004/60001
4 years, 3 months ago (2016-08-30 18:33:04 UTC) #31
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 19:50:10 UTC) #33
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 19:51:34 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fd194b338274f4a2eba70021f739c3b93e07be99
Cr-Commit-Position: refs/heads/master@{#415400}

Powered by Google App Engine
This is Rietveld 408576698