#include "chrome/renderer/cart/commerce_hint_agent.h"
#include "chrome/test/base/chrome_render_view_test.h"
#include "content/public/test/browser_test_utils.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/public/web/web_form_element.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace {
class CommerceHintAgentRendererTest : public ChromeRenderViewTest { … };
static const std::map<std::string, std::vector<std::string>> extract_case = …;
TEST_F(CommerceHintAgentRendererTest, ExtractButtonTexts) { … }
TEST_F(CommerceHintAgentRendererTest, IsAddToCartButton) { … }
}