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

Unified Diff: components/dom_distiller/core/viewer_unittest.cc

Issue 442503002: Retrieve article original URL from entryID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Styling Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/core/viewer_unittest.cc
diff --git a/components/dom_distiller/core/viewer_unittest.cc b/components/dom_distiller/core/viewer_unittest.cc
index 7aeba31d8b9ac2afc860017455f1aa3239e83aac..bd9d9a8dcb614b1c0866eb864f363fde6b030726 100644
--- a/components/dom_distiller/core/viewer_unittest.cc
+++ b/components/dom_distiller/core/viewer_unittest.cc
@@ -39,6 +39,8 @@ class TestDomDistillerService : public DomDistillerServiceInterface {
const ArticleAvailableCallback& article_cb) {
return AddToList(url, distiller_page.get(), article_cb);
}
+ MOCK_METHOD1(HasEntry, bool(const std::string));
+ MOCK_METHOD1(GetUrlForEntry, std::string(const std::string));
MOCK_CONST_METHOD0(GetEntries, std::vector<ArticleEntry>());
MOCK_METHOD1(AddObserver, void(DomDistillerObserver*));
MOCK_METHOD1(RemoveObserver, void(DomDistillerObserver*));

Powered by Google App Engine
This is Rietveld 408576698