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

Issue 270663005: Use new DomDistillerJs Proto API (Closed)

Created:
6 years, 7 months ago by cjhopman
Modified:
6 years, 7 months ago
Reviewers:
Yaron
CC:
chromium-reviews
Visibility:
Public.

Description

Use new DomDistillerJs Proto API This updates the distiller_page to use the proto-based DomDistiller.applyWithOptions(). To provide options, domdistiller.js contains a $$OPTIONS placeholder that is replaced with the json-serialized DomDistillerOptions at runtime. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270538

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Rebase #

Patch Set 4 : Fix distiller test-- add components resources and construct proper return value #

Patch Set 5 : Meh, let's just accept an empty script during tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -121 lines) Patch
M components/dom_distiller.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/distiller_page.cc View 1 2 3 4 2 chunks +56 lines, -43 lines 0 comments Download
M components/dom_distiller/core/distiller_unittest.cc View 1 2 3 4 11 chunks +26 lines, -22 lines 0 comments Download
M components/dom_distiller/core/javascript/domdistiller.js View 1 chunk +9 lines, -56 lines 0 comments Download
A third_party/dom_distiller_js/dom_distiller_js.gyp View 1 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
cjhopman
yfriedman: *
6 years, 7 months ago (2014-05-09 00:19:59 UTC) #1
Yaron
https://codereview.chromium.org/270663005/diff/40001/components/dom_distiller/DEPS File components/dom_distiller/DEPS (right): https://codereview.chromium.org/270663005/diff/40001/components/dom_distiller/DEPS#newcode2 components/dom_distiller/DEPS:2: "+dom_distiller_js", not third_party/dom_distiller_js? https://codereview.chromium.org/270663005/diff/40001/components/dom_distiller/core/distiller_page.cc File components/dom_distiller/core/distiller_page.cc (right): https://codereview.chromium.org/270663005/diff/40001/components/dom_distiller/core/distiller_page.cc#newcode26 components/dom_distiller/core/distiller_page.cc:26: ...
6 years, 7 months ago (2014-05-09 01:00:55 UTC) #2
cjhopman
https://codereview.chromium.org/270663005/diff/40001/components/dom_distiller/DEPS File components/dom_distiller/DEPS (right): https://codereview.chromium.org/270663005/diff/40001/components/dom_distiller/DEPS#newcode2 components/dom_distiller/DEPS:2: "+dom_distiller_js", On 2014/05/09 01:00:55, Yaron wrote: > not third_party/dom_distiller_js? ...
6 years, 7 months ago (2014-05-09 01:55:05 UTC) #3
Yaron
lgtm
6 years, 7 months ago (2014-05-09 02:01:31 UTC) #4
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 7 months ago (2014-05-13 16:44:49 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/270663005/60001
6 years, 7 months ago (2014-05-13 16:45:22 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-13 17:14:10 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 17:17:35 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/6674) linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/30850)
6 years, 7 months ago (2014-05-13 17:17:36 UTC) #9
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 7 months ago (2014-05-13 17:22:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/270663005/80001
6 years, 7 months ago (2014-05-13 17:23:05 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-13 20:25:53 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 20:54:46 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/151472)
6 years, 7 months ago (2014-05-13 20:54:46 UTC) #14
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 7 months ago (2014-05-14 16:15:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/270663005/100001
6 years, 7 months ago (2014-05-14 16:15:37 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 17:49:31 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 17:52:05 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/141579)
6 years, 7 months ago (2014-05-14 17:52:06 UTC) #19
cjhopman
The CQ bit was checked by cjhopman@chromium.org
6 years, 7 months ago (2014-05-14 20:05:14 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/270663005/120001
6 years, 7 months ago (2014-05-14 20:06:53 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 23:30:58 UTC) #22
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 00:33:04 UTC) #23
Message was sent while issue was closed.
Change committed as 270538

Powered by Google App Engine
This is Rietveld 408576698