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

Issue 146843010: Add support for multipage distillation. (Closed)

Created:
6 years, 10 months ago by shashi
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Add support for multipage distillation. Add support for distilling multiple pages, currently support is really basic and just distills pages sequentially. BUG=288015 TEST=included NOTRY=true R=cjhopman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248867

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Fix readlingListPrivateApiTest. #

Patch Set 4 : Rebase + change Viewer to use DomDistillerArticleProto #

Total comments: 6

Patch Set 5 : Address Yaron's comments. #

Patch Set 6 : Address Yaron's comments. #

Patch Set 7 : Address Chris' comments. #

Total comments: 28

Patch Set 8 : rebase address comments. #

Total comments: 8

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+772 lines, -297 lines) Patch
M components/dom_distiller.gypi View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M components/dom_distiller/content/distiller_page_web_contents.cc View 1 2 3 4 2 chunks +13 lines, -5 lines 0 comments Download
M components/dom_distiller/content/distiller_page_web_contents_browsertest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/dom_distiller/content/dom_distiller_viewer_source.cc View 1 2 3 4 5 6 7 4 chunks +17 lines, -6 lines 0 comments Download
M components/dom_distiller/core/distiller.h View 1 2 3 4 5 6 7 8 4 chunks +29 lines, -25 lines 0 comments Download
M components/dom_distiller/core/distiller.cc View 1 2 3 4 5 6 7 8 3 chunks +78 lines, -60 lines 0 comments Download
M components/dom_distiller/core/distiller_page.h View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M components/dom_distiller/core/distiller_page.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M components/dom_distiller/core/distiller_unittest.cc View 1 2 3 4 5 6 7 8 chunks +173 lines, -32 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.cc View 3 chunks +9 lines, -5 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service_unittest.cc View 1 2 3 4 5 6 7 11 chunks +75 lines, -9 lines 0 comments Download
M components/dom_distiller/core/fake_distiller.h View 1 2 1 chunk +4 lines, -10 lines 0 comments Download
M components/dom_distiller/core/fake_distiller.cc View 1 2 2 chunks +16 lines, -4 lines 0 comments Download
A components/dom_distiller/core/page_distiller.h View 1 2 3 4 5 6 7 8 1 chunk +70 lines, -0 lines 0 comments Download
A components/dom_distiller/core/page_distiller.cc View 1 2 3 4 5 6 7 8 1 chunk +91 lines, -0 lines 0 comments Download
A components/dom_distiller/core/proto/distilled_article.proto View 1 chunk +21 lines, -0 lines 0 comments Download
M components/dom_distiller/core/proto/distilled_page.proto View 1 chunk +0 lines, -3 lines 0 comments Download
M components/dom_distiller/core/task_tracker.h View 5 chunks +9 lines, -6 lines 0 comments Download
M components/dom_distiller/core/task_tracker.cc View 6 chunks +27 lines, -14 lines 0 comments Download
M components/dom_distiller/core/task_tracker_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/readability/README.chromium View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/readability/js/readability.js View 1 2 3 4 5 6 7 8 66 chunks +117 lines, -105 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
shashi
Initial implementation, viewer related changes will be landed in a separate patch.
6 years, 10 months ago (2014-01-29 05:20:42 UTC) #1
Yaron
https://chromiumcodereview.appspot.com/146843010/diff/2/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://chromiumcodereview.appspot.com/146843010/diff/2/components/dom_distiller/content/distiller_page_web_contents.cc#newcode65 components/dom_distiller/content/distiller_page_web_contents.cc:65: if (validated_url != web_contents_->GetURL()) { Why are these necessary? ...
6 years, 10 months ago (2014-01-29 20:03:41 UTC) #2
cjhopman
https://chromiumcodereview.appspot.com/146843010/diff/50001/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://chromiumcodereview.appspot.com/146843010/diff/50001/components/dom_distiller/content/distiller_page_web_contents.cc#newcode65 components/dom_distiller/content/distiller_page_web_contents.cc:65: if (validated_url != web_contents_->GetURL()) { What is this for? ...
6 years, 10 months ago (2014-01-29 21:44:12 UTC) #3
shashi
https://chromiumcodereview.appspot.com/146843010/diff/2/components/dom_distiller/content/distiller_page_web_contents.cc File components/dom_distiller/content/distiller_page_web_contents.cc (right): https://chromiumcodereview.appspot.com/146843010/diff/2/components/dom_distiller/content/distiller_page_web_contents.cc#newcode65 components/dom_distiller/content/distiller_page_web_contents.cc:65: if (validated_url != web_contents_->GetURL()) { On 2014/01/29 20:03:41, Yaron ...
6 years, 10 months ago (2014-01-29 22:51:37 UTC) #4
shashi
Note: on Chris' suggestion, I am refactoring the distiller into two classes: PageDistiller and Distiller(which ...
6 years, 10 months ago (2014-01-29 23:21:09 UTC) #5
shashi
Done the refactoring, all tests pass, ready for review, will land it next week.
6 years, 10 months ago (2014-01-30 01:39:25 UTC) #6
shashi
Gentle reminder, PTAL.
6 years, 10 months ago (2014-02-03 20:58:47 UTC) #7
cjhopman
https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc File components/dom_distiller/core/distiller.cc (right): https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc#newcode23 components/dom_distiller/core/distiller.cc:23: // Maximum number of distilled pages in a article. ...
6 years, 10 months ago (2014-02-03 21:47:21 UTC) #8
shashi
https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc File components/dom_distiller/core/distiller.cc (right): https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc#newcode23 components/dom_distiller/core/distiller.cc:23: // Maximum number of distilled pages in a article. ...
6 years, 10 months ago (2014-02-03 23:19:28 UTC) #9
cjhopman
https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc File components/dom_distiller/core/distiller.cc (right): https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc#newcode74 components/dom_distiller/core/distiller.cc:74: base::MessageLoop::current()->PostTask( On 2014/02/03 23:19:29, shashi wrote: > On 2014/02/03 ...
6 years, 10 months ago (2014-02-03 23:56:52 UTC) #10
shashi
PTAL https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc File components/dom_distiller/core/distiller.cc (right): https://chromiumcodereview.appspot.com/146843010/diff/200001/components/dom_distiller/core/distiller.cc#newcode74 components/dom_distiller/core/distiller.cc:74: base::MessageLoop::current()->PostTask( On 2014/02/03 23:56:53, cjhopman wrote: > On ...
6 years, 10 months ago (2014-02-04 01:39:36 UTC) #11
cjhopman
lgtm
6 years, 10 months ago (2014-02-04 01:48:26 UTC) #12
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-04 02:07:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/146843010/440020
6 years, 10 months ago (2014-02-04 02:17:55 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 05:20:15 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=222772
6 years, 10 months ago (2014-02-04 05:20:15 UTC) #16
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-04 05:21:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/146843010/440020
6 years, 10 months ago (2014-02-04 05:21:46 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 07:56:50 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=222877
6 years, 10 months ago (2014-02-04 07:56:51 UTC) #20
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-04 19:00:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/146843010/440020
6 years, 10 months ago (2014-02-04 19:03:17 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 22:51:02 UTC) #23
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, sync_integration_tests, unit_tests ...
6 years, 10 months ago (2014-02-04 22:51:02 UTC) #24
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-04 22:52:42 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/146843010/440020
6 years, 10 months ago (2014-02-04 22:57:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/146843010/440020
6 years, 10 months ago (2014-02-05 01:22:51 UTC) #27
shashi
The CQ bit was unchecked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-05 01:33:13 UTC) #28
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-05 01:33:17 UTC) #29
shashi
The CQ bit was unchecked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-05 02:30:09 UTC) #30
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-05 02:30:23 UTC) #31
shashi
The CQ bit was unchecked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-05 05:52:38 UTC) #32
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 10 months ago (2014-02-05 05:55:22 UTC) #33
shashi
6 years, 10 months ago (2014-02-05 05:57:01 UTC) #34
Message was sent while issue was closed.
Committed patchset #9 manually as r248867 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698