tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

agent_mac.cc (836B)


      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.
      4 
      5 #include "agent_mac.h"
      6 #include "event_mac.h"
      7 
      8 namespace content_analysis {
      9 namespace sdk {
     10 
     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));
     18 }
     19 
     20 AgentMac::AgentMac(
     21    Config config,
     22    std::unique_ptr<AgentEventHandler> handler)
     23  : AgentBase(std::move(config), std::move(handler)) {}
     24 
     25 ResultCode AgentMac::HandleEvents() {
     26  return ResultCode::ERR_UNEXPECTED;
     27 }
     28 
     29 std::string AgentMac::DebugString() const {
     30  return std::string();
     31 }
     32 
     33 }  // namespace sdk
     34 }  // namespace content_analysis