#include "components/optimization_guide/content/renderer/page_text_agent.h"
#include <limits>
#include <string>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/strings/strcat.h"
#include "base/strings/utf_string_conversions.h"
#include "content/public/renderer/render_frame.h"
#include "content/public/test/render_view_test.h"
#include "content/public/test/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace optimization_guide {
namespace {
class TestConsumer : public mojom::PageTextConsumer { … };
}
class PageTextAgentRenderViewTest : public content::RenderViewTest { … };
TEST_F(PageTextAgentRenderViewTest, AMPSubframeFirstLayout) { … }
TEST_F(PageTextAgentRenderViewTest, NotAMPSubframeLoadFinished) { … }
TEST_F(PageTextAgentRenderViewTest, MainFrame) { … }
TEST_F(PageTextAgentRenderViewTest, AMPSuccessCase) { … }
}