#include "components/facilitated_payments/content/renderer/facilitated_payments_agent.h"
#include <string>
#include "base/location.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/single_thread_task_runner.h"
#include "components/facilitated_payments/core/util/pix_code_validator.h"
#include "content/public/renderer/render_frame.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_registry.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace payments::facilitated {
FacilitatedPaymentsAgent::FacilitatedPaymentsAgent(
content::RenderFrame* render_frame,
blink::AssociatedInterfaceRegistry* registry)
: … { … }
FacilitatedPaymentsAgent::~FacilitatedPaymentsAgent() = default;
void FacilitatedPaymentsAgent::TriggerPixCodeDetection(
base::OnceCallback<void(mojom::PixCodeDetectionResult, const std::string&)>
callback) { … }
void FacilitatedPaymentsAgent::OnDestruct() { … }
void FacilitatedPaymentsAgent::BindPendingReceiver(
mojo::PendingAssociatedReceiver<mojom::FacilitatedPaymentsAgent>
pending_receiver) { … }
}