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

Issue 493853006: Remove DistilledPageInfo and related structs. (Closed)

Created:
6 years, 4 months ago by nyquist
Modified:
6 years, 3 months ago
Reviewers:
cjhopman
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove DistilledPageInfo and related structs. The DistilledPageInfo and related structs are unnecessary, and it is possible to pass the DomDistillerResult proto around instead. Currently they contain the same data, and it is all just copied over. Removing this intermediate step simplifies the code and makes it easier to add more data to the DomDistillerResult proto and passing it through to DistilledPageProto. BUG=409274 Committed: https://crrev.com/3d9a246947c3a01ca075a4c7eca4cda4259a4939 Cr-Commit-Position: refs/heads/master@{#293008}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Patch Set 3 : Address comment about found_content #

Patch Set 4 : Fixed bool-issue and changed from EXPECT_EQ to ASSERT_EQ for page size #

Total comments: 2

Patch Set 5 : Fixed dependency #

Patch Set 6 : Rebased and merged in time-info change #

Patch Set 7 : Fixed DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -215 lines) Patch
M components/dom_distiller/content/distiller_page_web_contents_browsertest.cc View 1 2 3 4 5 10 chunks +67 lines, -63 lines 0 comments Download
M components/dom_distiller/core/distiller.h View 1 chunk +5 lines, -4 lines 0 comments Download
M components/dom_distiller/core/distiller.cc View 1 2 3 4 5 6 1 chunk +31 lines, -16 lines 0 comments Download
M components/dom_distiller/core/distiller_page.h View 3 chunks +4 lines, -57 lines 0 comments Download
M components/dom_distiller/core/distiller_page.cc View 1 2 3 4 5 3 chunks +13 lines, -69 lines 0 comments Download
M components/dom_distiller/core/distiller_unittest.cc View 1 2 3 5 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 27 (5 generated)
nyquist
nyquist@chromium.org changed reviewers: + cjhopman@chromium.org
6 years, 4 months ago (2014-08-26 00:02:38 UTC) #1
nyquist
cjhopman: PTAL
6 years, 4 months ago (2014-08-26 00:02:38 UTC) #2
cjhopman
https://codereview.chromium.org/493853006/diff/1/components/dom_distiller/core/distiller_page.cc File components/dom_distiller/core/distiller_page.cc (right): https://codereview.chromium.org/493853006/diff/1/components/dom_distiller/core/distiller_page.cc#newcode87 components/dom_distiller/core/distiller_page.cc:87: found_content)); found_content should probably be false if we failed ...
6 years, 3 months ago (2014-08-27 19:11:37 UTC) #3
nyquist
cjhopman: PTAL https://codereview.chromium.org/493853006/diff/1/components/dom_distiller/core/distiller_page.cc File components/dom_distiller/core/distiller_page.cc (right): https://codereview.chromium.org/493853006/diff/1/components/dom_distiller/core/distiller_page.cc#newcode87 components/dom_distiller/core/distiller_page.cc:87: found_content)); On 2014/08/27 19:11:37, cjhopman wrote: > ...
6 years, 3 months ago (2014-08-28 19:01:32 UTC) #4
nyquist
sorry about the churn... now PTAL :-)
6 years, 3 months ago (2014-08-28 21:30:12 UTC) #5
cjhopman
https://codereview.chromium.org/493853006/diff/60001/components/dom_distiller/core/distiller_page.cc File components/dom_distiller/core/distiller_page.cc (right): https://codereview.chromium.org/493853006/diff/60001/components/dom_distiller/core/distiller_page.cc#newcode82 components/dom_distiller/core/distiller_page.cc:82: value, distiller_result.get()); If we just use the old version ...
6 years, 3 months ago (2014-08-28 21:58:53 UTC) #6
nyquist
removed dependency. PTAL
6 years, 3 months ago (2014-08-28 22:08:56 UTC) #7
nyquist
https://codereview.chromium.org/493853006/diff/60001/components/dom_distiller/core/distiller_page.cc File components/dom_distiller/core/distiller_page.cc (right): https://codereview.chromium.org/493853006/diff/60001/components/dom_distiller/core/distiller_page.cc#newcode82 components/dom_distiller/core/distiller_page.cc:82: value, distiller_result.get()); On 2014/08/28 21:58:53, cjhopman wrote: > If ...
6 years, 3 months ago (2014-08-28 22:09:15 UTC) #8
cjhopman
lgtm
6 years, 3 months ago (2014-08-28 22:16:28 UTC) #9
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 3 months ago (2014-08-28 22:43:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/493853006/80001
6 years, 3 months ago (2014-08-28 22:45:42 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-28 22:56:30 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 22:58:08 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/47863) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/10224) ios_rel_device ...
6 years, 3 months ago (2014-08-28 22:58:09 UTC) #14
nyquist
6 years, 3 months ago (2014-08-29 23:36:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/493853006/100001
6 years, 3 months ago (2014-08-29 23:54:31 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg_recipe on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-30 01:14:25 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/10681)
6 years, 3 months ago (2014-08-30 01:29:08 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/493853006/120001
6 years, 3 months ago (2014-09-02 20:41:25 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 3 months ago (2014-09-02 21:47:33 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 1f4809f26b34c78f1ab4e51593a5690404d009a2
6 years, 3 months ago (2014-09-02 22:18:03 UTC) #26
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:21:16 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3d9a246947c3a01ca075a4c7eca4cda4259a4939
Cr-Commit-Position: refs/heads/master@{#293008}

Powered by Google App Engine
This is Rietveld 408576698