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

Issue 178303004: Add incremental updates for multipage distillation. (Closed)

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

Description

Add incremental updates for multipage distillation. Add support for providing incremental updates for multipage distillation. Updates are now broadcasted to the viewers, whenever a new page in the article finishes distillation. This allows viewer to show data to the user, before the distillation of the entire article is completed. This change required changing management of pages in distiller to be refcounted. BUG=288015 NOTRY=true R=cjhopman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255708

Patch Set 1 : #

Patch Set 2 : Fix compile by adding a header. #

Total comments: 50

Patch Set 3 : Address comments. #

Total comments: 15

Patch Set 4 : rebase address comments. #

Total comments: 9

Patch Set 5 : #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, -244 lines) Patch
M components/dom_distiller.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/dom_distiller/content/dom_distiller_viewer_source.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/dom_distiller/content/dom_distiller_viewer_source.cc View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M components/dom_distiller/content/dom_distiller_viewer_source_unittest.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A components/dom_distiller/core/article_distillation_update.h View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A components/dom_distiller/core/article_distillation_update.cc View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M components/dom_distiller/core/distiller.h View 1 2 3 4 6 chunks +27 lines, -8 lines 0 comments Download
M components/dom_distiller/core/distiller.cc View 1 2 3 4 8 chunks +41 lines, -12 lines 0 comments Download
M components/dom_distiller/core/distiller_unittest.cc View 1 2 3 4 14 chunks +317 lines, -204 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service_unittest.cc View 8 chunks +9 lines, -7 lines 0 comments Download
M components/dom_distiller/core/fake_distiller.h View 1 2 2 chunks +9 lines, -3 lines 0 comments Download
M components/dom_distiller/core/fake_distiller.cc View 1 2 2 chunks +9 lines, -6 lines 0 comments Download
M components/dom_distiller/core/task_tracker.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M components/dom_distiller/core/task_tracker.cc View 3 chunks +11 lines, -2 lines 0 comments Download
M components/dom_distiller/core/task_tracker_unittest.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
shashi
6 years, 9 months ago (2014-02-27 20:08:51 UTC) #1
cjhopman
https://chromiumcodereview.appspot.com/178303004/diff/100002/components/dom_distiller.gypi File components/dom_distiller.gypi (right): https://chromiumcodereview.appspot.com/178303004/diff/100002/components/dom_distiller.gypi#newcode54 components/dom_distiller.gypi:54: 'dom_distiller/core/article_distillation_update.h', nit:sort https://chromiumcodereview.appspot.com/178303004/diff/100002/components/dom_distiller/content/dom_distiller_viewer_source.h File components/dom_distiller/content/dom_distiller_viewer_source.h (right): https://chromiumcodereview.appspot.com/178303004/diff/100002/components/dom_distiller/content/dom_distiller_viewer_source.h#newcode8 components/dom_distiller/content/dom_distiller_viewer_source.h:8: #include ...
6 years, 9 months ago (2014-02-28 02:38:14 UTC) #2
shashi
PTAL https://chromiumcodereview.appspot.com/178303004/diff/100002/components/dom_distiller.gypi File components/dom_distiller.gypi (right): https://chromiumcodereview.appspot.com/178303004/diff/100002/components/dom_distiller.gypi#newcode54 components/dom_distiller.gypi:54: 'dom_distiller/core/article_distillation_update.h', On 2014/02/28 02:38:14, cjhopman wrote: > nit:sort ...
6 years, 9 months ago (2014-03-02 02:53:40 UTC) #3
nyquist
https://codereview.chromium.org/178303004/diff/200016/components/dom_distiller/core/article_distillation_update.h File components/dom_distiller/core/article_distillation_update.h (right): https://codereview.chromium.org/178303004/diff/200016/components/dom_distiller/core/article_distillation_update.h#newcode29 components/dom_distiller/core/article_distillation_update.h:29: size_t GetPagesSize() const { return pages_.size(); } I've mostly ...
6 years, 9 months ago (2014-03-03 23:00:11 UTC) #4
cjhopman
https://codereview.chromium.org/178303004/diff/200016/components/dom_distiller/core/article_distillation_update.h File components/dom_distiller/core/article_distillation_update.h (right): https://codereview.chromium.org/178303004/diff/200016/components/dom_distiller/core/article_distillation_update.h#newcode19 components/dom_distiller/core/article_distillation_update.h:19: RefPtrToDistilledPageProto; How would you feel about just doing: typedef ...
6 years, 9 months ago (2014-03-04 02:29:04 UTC) #5
shashi
PTAL https://chromiumcodereview.appspot.com/178303004/diff/200016/components/dom_distiller/core/article_distillation_update.h File components/dom_distiller/core/article_distillation_update.h (right): https://chromiumcodereview.appspot.com/178303004/diff/200016/components/dom_distiller/core/article_distillation_update.h#newcode19 components/dom_distiller/core/article_distillation_update.h:19: RefPtrToDistilledPageProto; On 2014/03/04 02:29:05, cjhopman wrote: > How ...
6 years, 9 months ago (2014-03-04 19:47:22 UTC) #6
cjhopman
https://codereview.chromium.org/178303004/diff/230001/components/dom_distiller/core/article_distillation_update.h File components/dom_distiller/core/article_distillation_update.h (right): https://codereview.chromium.org/178303004/diff/230001/components/dom_distiller/core/article_distillation_update.h#newcode27 components/dom_distiller/core/article_distillation_update.h:27: const scoped_refptr<RefCountedPageProto> GetDistilledPage(size_t index) const; The page proto here ...
6 years, 9 months ago (2014-03-05 02:55:34 UTC) #7
shashi
PTAL https://codereview.chromium.org/178303004/diff/200016/components/dom_distiller/core/distiller.h File components/dom_distiller/core/distiller.h (right): https://codereview.chromium.org/178303004/diff/200016/components/dom_distiller/core/distiller.h#newcode148 components/dom_distiller/core/distiller.h:148: const ArticleDistillationUpdate CreateDistillationUpdate() const; On 2014/03/03 23:00:12, nyquist ...
6 years, 9 months ago (2014-03-05 03:45:38 UTC) #8
shashi
Gentle reminder.
6 years, 9 months ago (2014-03-06 21:27:38 UTC) #9
cjhopman
lgtm
6 years, 9 months ago (2014-03-06 23:05:33 UTC) #10
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-06 23:16:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/178303004/270001
6 years, 9 months ago (2014-03-06 23:22:40 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 01:52:45 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg
6 years, 9 months ago (2014-03-07 01:52:46 UTC) #14
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 16:02:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/178303004/290001
6 years, 9 months ago (2014-03-07 16:03:02 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 16:06:02 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-07 16:06:02 UTC) #18
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 16:15:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/178303004/290001
6 years, 9 months ago (2014-03-07 16:17:25 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 16:57:45 UTC) #21
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=157031
6 years, 9 months ago (2014-03-07 16:57:46 UTC) #22
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 19:20:32 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/178303004/290001
6 years, 9 months ago (2014-03-07 19:22:55 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shashishekhar@chromium.org/178303004/290001
6 years, 9 months ago (2014-03-07 20:26:15 UTC) #25
shashi
The CQ bit was unchecked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 21:02:43 UTC) #26
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 21:03:00 UTC) #27
shashi
The CQ bit was unchecked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 21:19:40 UTC) #28
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 21:19:50 UTC) #29
shashi
The CQ bit was unchecked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 22:10:34 UTC) #30
shashi
The CQ bit was checked by shashishekhar@chromium.org
6 years, 9 months ago (2014-03-07 22:10:41 UTC) #31
shashi
6 years, 9 months ago (2014-03-07 22:18:13 UTC) #32
Message was sent while issue was closed.
Committed patchset #7 manually as r255708 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698