Bug 1888590 - Mark some subtests on trusted-types-event-handlers.html as failing...
[gecko.git] / third_party / content_analysis_sdk / agent / src / agent_mac.cc
blob5bbac5fe49eab0b3a28a8b47737a2c9c635e1c84
1 // Copyright 2022 The Chromium Authors.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "agent_mac.h"
6 #include "event_mac.h"
8 namespace content_analysis {
9 namespace sdk {
11 // static
12 std::unique_ptr<Agent> Agent::Create(
13 Config config,
14 std::unique_ptr<AgentEventHandler> handler,
15 ResultCode* rc) {
16 *rc = ResultCode::ERR_UNEXPECTED;
17 return std::make_unique<AgentMac>(std::move(config), std::move(handler));
20 AgentMac::AgentMac(
21 Config config,
22 std::unique_ptr<AgentEventHandler> handler)
23 : AgentBase(std::move(config), std::move(handler)) {}
25 ResultCode AgentMac::HandleEvents() {
26 return ResultCode::ERR_UNEXPECTED;
29 std::string AgentMac::DebugString() const {
30 return std::string();
33 } // namespace sdk
34 } // namespace content_analysis