#include "components/dom_distiller/core/viewer.h"
#include <memory>
#include "components/dom_distiller/core/distilled_page_prefs.h"
#include "components/dom_distiller/core/distiller_ui_handle.h"
#include "components/dom_distiller/core/dom_distiller_service.h"
#include "components/dom_distiller/core/task_tracker.h"
#include "components/dom_distiller/core/url_constants.h"
#include "components/dom_distiller/core/url_utils.h"
#include "net/base/url_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/url_util.h"
namespace dom_distiller {
namespace {
const GURL GetDistillerViewUrlFromUrl(const std::string& url) { … }
const GURL GetDistillerViewUrlFromEntryId(const std::string& id) { … }
}
class FakeViewRequestDelegate : public ViewRequestDelegate { … };
class TestDomDistillerService : public DomDistillerServiceInterface { … };
class DomDistillerViewerTest : public testing::Test { … };
TEST_F(DomDistillerViewerTest, TestCreatingViewUrlRequest) { … }
TEST_F(DomDistillerViewerTest, TestCreatingInvalidViewRequest) { … }
DistilledPagePrefs* TestDomDistillerService::GetDistilledPagePrefs() { … }
DistillerUIHandle* TestDomDistillerService::GetDistillerUIHandle() { … }
TEST_F(DomDistillerViewerTest, TestGetDistilledPageThemeJsOutput) { … }
TEST_F(DomDistillerViewerTest, TestGetDistilledPageFontFamilyJsOutput) { … }
TEST_F(DomDistillerViewerTest, TestGetDistilledPageFontScalingJsOutput) { … }
}