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

Issue 1003153003: Avoid starting a distillation process if the URL is not distillable. (Closed)

Created:
5 years, 9 months ago by alexg__
Modified:
5 years, 9 months ago
Reviewers:
nyquist
CC:
chromium-reviews, csaavedra, Martin Robinson
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid starting a distillation process if the URL is not distillable. The distillation does not need to start in this cases, the data source is going to fallback to the error webpage. Committed: https://crrev.com/4788d01b26d8b2c24967436cc5f9b95189b5f172 Cr-Commit-Position: refs/heads/master@{#321328}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix issues pointed out, release web_contents properly when not used. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M chrome/browser/dom_distiller/tab_utils.cc View 1 3 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
alexg__
5 years, 9 months ago (2015-03-13 18:47:40 UTC) #2
nyquist
https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc File chrome/browser/dom_distiller/tab_utils.cc (right): https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc#newcode115 chrome/browser/dom_distiller/tab_utils.cc:115: if (!dom_distiller::url_utils::IsUrlDistillable(last_committed_url)) { If the distillation is not started ...
5 years, 9 months ago (2015-03-13 21:21:20 UTC) #3
alexg__
On 2015/03/13 21:21:20, nyquist wrote: > https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc > File chrome/browser/dom_distiller/tab_utils.cc (right): > > https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc#newcode115 > ...
5 years, 9 months ago (2015-03-13 21:34:22 UTC) #4
nyquist
https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc File chrome/browser/dom_distiller/tab_utils.cc (right): https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc#newcode115 chrome/browser/dom_distiller/tab_utils.cc:115: if (!dom_distiller::url_utils::IsUrlDistillable(last_committed_url)) { On 2015/03/13 at 21:21:20, nyquist wrote: ...
5 years, 9 months ago (2015-03-13 23:46:08 UTC) #5
nyquist
https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc File chrome/browser/dom_distiller/tab_utils.cc (right): https://codereview.chromium.org/1003153003/diff/1/chrome/browser/dom_distiller/tab_utils.cc#newcode115 chrome/browser/dom_distiller/tab_utils.cc:115: if (!dom_distiller::url_utils::IsUrlDistillable(last_committed_url)) { On 2015/03/13 at 23:46:08, nyquist wrote: ...
5 years, 9 months ago (2015-03-14 00:49:58 UTC) #6
alexg__
On 2015/03/14 00:49:58, nyquist wrote: > Also; I guess at that point we would have ...
5 years, 9 months ago (2015-03-16 16:37:14 UTC) #7
nyquist
lgtm
5 years, 9 months ago (2015-03-19 00:42:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003153003/20001
5 years, 9 months ago (2015-03-19 09:21:03 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-19 10:22:57 UTC) #11
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 10:24:08 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4788d01b26d8b2c24967436cc5f9b95189b5f172
Cr-Commit-Position: refs/heads/master@{#321328}

Powered by Google App Engine
This is Rietveld 408576698