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

Side by Side Diff: components/dom_distiller/core/fake_distiller_page.cc

Issue 901793002: Add support for providing an external file for extracting content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved injection to constructor Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/dom_distiller/core/fake_distiller_page.h" 5 #include "components/dom_distiller/core/fake_distiller_page.h"
6 6
7 namespace dom_distiller { 7 namespace dom_distiller {
8 namespace test { 8 namespace test {
9 9
10 MockDistillerPageFactory::MockDistillerPageFactory() { 10 MockDistillerPageFactory::MockDistillerPageFactory() {
11 } 11 }
12 MockDistillerPageFactory::~MockDistillerPageFactory() { 12 MockDistillerPageFactory::~MockDistillerPageFactory() {
13 } 13 }
14 14
15 MockDistillerPage::MockDistillerPage() { 15 MockDistillerPage::MockDistillerPage() : DistillerPage("") {
16 } 16 }
17 MockDistillerPage::~MockDistillerPage() { 17 MockDistillerPage::~MockDistillerPage() {
18 } 18 }
19 19
20 } // namespace test 20 } // namespace test
21 } // namespace dom_distiller 21 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698