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

Issue 687183003: add options to specify original domain(s) (Closed)

Created:
6 years, 1 month ago by kuan
Modified:
6 years, 1 month ago
Reviewers:
cjhopman
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

add options to specify original domain(s) - this is part of the implementation of scoring mechanism for next/prev page links; details are in http://codereview.chromium.org/661883003. - add options to standalone content extractor to specify original domain if page being processed is a file:// 1) --original-domain pairs with --url 2) --original-domains pairs with --urls, delimited by ';', 1st domain is for 1st url, etc. eval tool will invoke content extractor with this option. - for --original-domains, different URLs require different DomDistillerOptions to be passed to GWT distiller as individual --original-domain: 1) rename DistillerFactory::CreateDistiller() to CreateDistillerForUrl(GURL) 2) impl new DistillerFactory class for content extractor to create different options for different url's, i.e. a specific original domain for each url. BUG=425952 Committed: https://crrev.com/8240530c2f8395ab9a5d8b63d72247fe01ee8c87 Cr-Commit-Position: refs/heads/master@{#301959}

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -11 lines) Patch
M components/dom_distiller/core/distiller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/dom_distiller/core/distiller.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M components/dom_distiller/core/fake_distiller.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/dom_distiller/core/task_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/standalone/content_extractor.cc View 7 chunks +75 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
kuan
fyi, this requires roll of gwt changes in https://codereview.chromium.org/688443006/.
6 years, 1 month ago (2014-10-29 12:42:39 UTC) #2
cjhopman
https://codereview.chromium.org/687183003/diff/1/components/dom_distiller/core/distiller.cc File components/dom_distiller/core/distiller.cc (right): https://codereview.chromium.org/687183003/diff/1/components/dom_distiller/core/distiller.cc#newcode42 components/dom_distiller/core/distiller.cc:42: // The |unused| GURL is not needed here or ...
6 years, 1 month ago (2014-10-29 17:13:41 UTC) #3
kuan
i've addressed all comments in patch set 2. ptal. thx. https://codereview.chromium.org/687183003/diff/1/components/dom_distiller/core/distiller.cc File components/dom_distiller/core/distiller.cc (right): https://codereview.chromium.org/687183003/diff/1/components/dom_distiller/core/distiller.cc#newcode42 ...
6 years, 1 month ago (2014-10-29 17:26:53 UTC) #4
cjhopman
lgtm
6 years, 1 month ago (2014-10-29 17:35:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/687183003/20001
6 years, 1 month ago (2014-10-29 21:18:46 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-29 22:57:10 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-10-29 22:57:51 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8240530c2f8395ab9a5d8b63d72247fe01ee8c87
Cr-Commit-Position: refs/heads/master@{#301959}

Powered by Google App Engine
This is Rietveld 408576698