#include "chrome/browser/enterprise/connectors/test/fake_content_analysis_sdk_client.h"
namespace enterprise_connectors {
FakeContentAnalysisSdkClient::FakeContentAnalysisSdkClient(
const content_analysis::sdk::Client::Config& config)
: … { … }
FakeContentAnalysisSdkClient::~FakeContentAnalysisSdkClient() = default;
const content_analysis::sdk::Client::Config&
FakeContentAnalysisSdkClient::GetConfig() const { … }
int FakeContentAnalysisSdkClient::Send(
content_analysis::sdk::ContentAnalysisRequest request,
content_analysis::sdk::ContentAnalysisResponse* response) { … }
int FakeContentAnalysisSdkClient::Acknowledge(
const content_analysis::sdk::ContentAnalysisAcknowledgement& ack) { … }
int FakeContentAnalysisSdkClient::CancelRequests(
const content_analysis::sdk::ContentAnalysisCancelRequests& cancel) { … }
const content_analysis::sdk::AgentInfo&
FakeContentAnalysisSdkClient::GetAgentInfo() const { … }
content_analysis::sdk::ContentAnalysisRequest
FakeContentAnalysisSdkClient::GetRequest(const std::string& request_token) { … }
const content_analysis::sdk::ContentAnalysisCancelRequests&
FakeContentAnalysisSdkClient::GetCancelRequests() { … }
void FakeContentAnalysisSdkClient::SetAckStatus(int status) { … }
void FakeContentAnalysisSdkClient::SetSendStatus(int status) { … }
void FakeContentAnalysisSdkClient::SetCancelStatus(int status) { … }
void FakeContentAnalysisSdkClient::SetSendResponse(
const content_analysis::sdk::ContentAnalysisResponse& response) { … }
void FakeContentAnalysisSdkClient::SetAgentInfo(
const content_analysis::sdk::AgentInfo& agent_info) { … }
}