|
Add support for providing an external file for extracting content.
This CL adds the command line parameter --external-dom-distiller-js
to the content extractor used in DOM Distiller extraction tests.
By providing this parameter, the user can provide her own version of
the JavaScript instead of using the built-in one. This removes the
requirement of re-compiling the components_browsertests target
when iterating on DOM Distiller JavaScript code.
Requires these changes from DOM Distiller:
https://codereview.chromium.org/863863007/
BUG= 455503
Total comments: 6
Total comments: 4
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+136 lines, -73 lines) |
Patch |
 |
M |
chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/dom_distiller/content/distiller_page_web_contents.h
|
View
|
1
2
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/content/distiller_page_web_contents.cc
|
View
|
1
2
|
2 chunks |
+15 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
View
|
1
2
|
11 chunks |
+16 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/core/distiller_page.h
|
View
|
1
2
|
2 chunks |
+14 lines, -3 lines |
1 comment
|
Download
|
 |
M |
components/dom_distiller/core/distiller_page.cc
|
View
|
1
2
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/core/fake_distiller_page.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
components/dom_distiller/core/javascript/domdistiller.js
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_factory_ios.h
|
View
|
1
2
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_factory_ios.mm
|
View
|
1
2
|
1 chunk |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_ios.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/dom_distiller/ios/distiller_page_ios.mm
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/standalone/content_extractor_browsertest.cc
|
View
|
1
2
|
4 chunks |
+31 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/resources/dom_distiller_resources.grdp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
ios/chrome/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/ios_chrome.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 12 (2 generated)
|