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

Issue 254483003: Start requiring DistillerPage for calls to DomDistillerService. (Closed)

Created:
6 years, 8 months ago by nyquist
Modified:
6 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Start requiring DistillerPage for calls to DomDistillerService. The DomDistillerService now requires callers to pass in DistillerPage. This enables callers to more closely control how the page is distilled. BUG=361939 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266486

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clarified documentation #

Total comments: 4

Patch Set 3 : Addressed comments about comments and fixed failing test. #

Total comments: 2

Patch Set 4 : Indent fixes (full git cl format) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -210 lines) Patch
M chrome/browser/dom_distiller/dom_distiller_service_factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/dom_distiller/dom_distiller_service_factory.cc View 1 2 3 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/dom_distiller/lazy_dom_distiller_service.h View 1 chunk +12 lines, -7 lines 0 comments Download
M chrome/browser/dom_distiller/lazy_dom_distiller_service.cc View 3 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc View 1 2 3 3 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/reading_list_private/reading_list_private_apitest.cc View 1 2 2 chunks +14 lines, -4 lines 0 comments Download
M components/dom_distiller.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/dom_distiller/content/distiller_page_web_contents.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/content/distiller_page_web_contents.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/dom_distiller/core/distiller.h View 1 2 3 3 chunks +6 lines, -7 lines 0 comments Download
M components/dom_distiller/core/distiller.cc View 1 2 3 3 chunks +6 lines, -7 lines 0 comments Download
M components/dom_distiller/core/distiller_page.h View 1 2 4 chunks +11 lines, -3 lines 0 comments Download
M components/dom_distiller/core/distiller_unittest.cc View 19 chunks +71 lines, -102 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.h View 1 6 chunks +38 lines, -12 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.cc View 1 2 3 7 chunks +16 lines, -5 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service_unittest.cc View 15 chunks +45 lines, -17 lines 0 comments Download
M components/dom_distiller/core/fake_distiller.h View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M components/dom_distiller/core/fake_distiller.cc View 1 chunk +1 line, -0 lines 0 comments Download
A components/dom_distiller/core/fake_distiller_page.h View 1 chunk +35 lines, -0 lines 0 comments Download
A components/dom_distiller/core/fake_distiller_page.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M components/dom_distiller/core/task_tracker.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/dom_distiller/core/task_tracker.cc View 2 chunks +3 lines, -1 line 0 comments Download
M components/dom_distiller/core/task_tracker_unittest.cc View 6 chunks +14 lines, -8 lines 0 comments Download
M components/dom_distiller/core/viewer.cc View 1 chunk +8 lines, -4 lines 0 comments Download
M components/dom_distiller/core/viewer_unittest.cc View 1 chunk +21 lines, -5 lines 0 comments Download
M components/dom_distiller/standalone/content_extractor.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M components/dom_distiller/webui/dom_distiller_handler.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
nyquist
cjhopman: PTAL This depends on another CL, so all tryjobs will fail. I'll retry when ...
6 years, 8 months ago (2014-04-23 23:57:31 UTC) #1
cjhopman
https://codereview.chromium.org/254483003/diff/1/components/dom_distiller/core/dom_distiller_service.h File components/dom_distiller/core/dom_distiller_service.h (right): https://codereview.chromium.org/254483003/diff/1/components/dom_distiller/core/dom_distiller_service.h#newcode48 components/dom_distiller/core/dom_distiller_service.h:48: // represents whether the article is available offline. One ...
6 years, 8 months ago (2014-04-24 23:03:05 UTC) #2
nyquist
cjhopman: PTAL https://codereview.chromium.org/254483003/diff/1/components/dom_distiller/core/dom_distiller_service.h File components/dom_distiller/core/dom_distiller_service.h (right): https://codereview.chromium.org/254483003/diff/1/components/dom_distiller/core/dom_distiller_service.h#newcode48 components/dom_distiller/core/dom_distiller_service.h:48: // represents whether the article is available ...
6 years, 8 months ago (2014-04-25 15:41:12 UTC) #3
cjhopman
lgtm https://codereview.chromium.org/254483003/diff/20001/components/dom_distiller/core/distiller_page.h File components/dom_distiller/core/distiller_page.h (right): https://codereview.chromium.org/254483003/diff/20001/components/dom_distiller/core/distiller_page.h#newcode46 components/dom_distiller/core/distiller_page.h:46: // fails. May be called when the distiller ...
6 years, 8 months ago (2014-04-25 17:23:00 UTC) #4
nyquist
addressed all comments. Adding asargent@chromium.org for TBR of consumption of DomDistillerService API from extension API. ...
6 years, 8 months ago (2014-04-25 21:37:23 UTC) #5
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 8 months ago (2014-04-25 23:02:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/254483003/30001
6 years, 8 months ago (2014-04-25 23:04:01 UTC) #7
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/254483003/diff/30001/chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc File chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc (right): https://codereview.chromium.org/254483003/diff/30001/chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc#newcode41 chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc:41: service->CreateDefaultDistillerPage().Pass(), style nit: indentation looks like it might ...
6 years, 8 months ago (2014-04-25 23:24:57 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-25 23:57:45 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-25 23:57:45 UTC) #10
nyquist
https://codereview.chromium.org/254483003/diff/30001/chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc File chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc (right): https://codereview.chromium.org/254483003/diff/30001/chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc#newcode41 chrome/browser/extensions/api/reading_list_private/reading_list_private_api.cc:41: service->CreateDefaultDistillerPage().Pass(), On 2014/04/25 23:24:57, Antony Sargent wrote: > style ...
6 years, 8 months ago (2014-04-27 00:30:30 UTC) #11
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 8 months ago (2014-04-27 00:30:38 UTC) #12
nyquist
The CQ bit was unchecked by nyquist@chromium.org
6 years, 8 months ago (2014-04-27 00:30:46 UTC) #13
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 8 months ago (2014-04-27 00:31:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/254483003/50001
6 years, 8 months ago (2014-04-27 00:31:22 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-27 01:10:37 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 8 months ago (2014-04-27 01:10:37 UTC) #17
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 8 months ago (2014-04-27 22:32:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/254483003/50001
6 years, 8 months ago (2014-04-27 22:33:15 UTC) #19
commit-bot: I haz the power
6 years, 8 months ago (2014-04-28 08:14:03 UTC) #20
Message was sent while issue was closed.
Change committed as 266486

Powered by Google App Engine
This is Rietveld 408576698