summaryrefslogtreecommitdiffstats
path: root/components/resources
diff options
context:
space:
mode:
authorcjhopman <cjhopman@chromium.org>2015-04-03 13:28:58 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-03 20:29:29 +0000
commitadf25383033ff5794a810f725c78e319126b6edb (patch)
treecf3c3412d2d03c8a713f56ceb36b6a995dbba0d6 /components/resources
parent99e3f8806b9653d009990c002d815e8570fb1cee (diff)
downloadchromium_src-adf25383033ff5794a810f725c78e319126b6edb.zip
chromium_src-adf25383033ff5794a810f725c78e319126b6edb.tar.gz
chromium_src-adf25383033ff5794a810f725c78e319126b6edb.tar.bz2
Add integration of the new heuristics
This adds the trained model, the javascript core feature extraction, and simple functions to apply the old or new heuristics to a web_contents*. BUG=471439 TBR=blundell@chromium.org Review URL: https://codereview.chromium.org/1047223003 Cr-Commit-Position: refs/heads/master@{#323805}
Diffstat (limited to 'components/resources')
-rw-r--r--components/resources/dom_distiller_resources.grdp2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/resources/dom_distiller_resources.grdp b/components/resources/dom_distiller_resources.grdp
index 186bd5e..9e81af2 100644
--- a/components/resources/dom_distiller_resources.grdp
+++ b/components/resources/dom_distiller_resources.grdp
@@ -8,4 +8,6 @@
<include name="IDR_DISTILLER_JS" file="../dom_distiller/core/javascript/domdistiller.js" flattenhtml="true" type="BINDATA" />
<include name="IDR_DISTILLER_CSS" file="../dom_distiller/core/css/distilledpage.css" type="BINDATA" />
<include name="IDR_IS_DISTILLABLE_JS" file="../dom_distiller/core/javascript/is_distillable_trigger.js" type="BINDATA" />
+ <include name="IDR_EXTRACT_PAGE_FEATURES_JS" file="../dom_distiller/core/javascript/extract_features.js" type="BINDATA" />
+ <include name="IDR_DISTILLABLE_PAGE_SERIALIZED_MODEL" file="../dom_distiller/core/data/distillable_page_model.bin" type="BINDATA" />
</grit-part>