Remove DistilledPageInfo and related structs.
commit3d9a246947c3a01ca075a4c7eca4cda4259a4939
authornyquist <nyquist@chromium.org>
Tue, 2 Sep 2014 22:17:11 +0000 (2 15:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Sep 2014 22:20:34 +0000 (2 22:20 +0000)
tree0e3d47a75eaa8968fe3f75e53c7e96fc70538a8d
parent9ce271f8ea373d7300392b5f186670384ffa105d
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

Review URL: https://codereview.chromium.org/493853006

Cr-Commit-Position: refs/heads/master@{#293008}
components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
components/dom_distiller/core/distiller.cc
components/dom_distiller/core/distiller.h
components/dom_distiller/core/distiller_page.cc
components/dom_distiller/core/distiller_page.h
components/dom_distiller/core/distiller_unittest.cc