client_mac.h (801B)
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 #ifndef CONTENT_ANALYSIS_BROWSER_SRC_CLIENT_MAC_H_ 6 #define CONTENT_ANALYSIS_BROWSER_SRC_CLIENT_MAC_H_ 7 8 #include "client_base.h" 9 10 namespace content_analysis { 11 namespace sdk { 12 13 // Client implementaton for macOS. 14 class ClientMac : public ClientBase { 15 public: 16 ClientMac(Config config); 17 18 // Client: 19 int Send(ContentAnalysisRequest request, 20 ContentAnalysisResponse* response) override; 21 int Acknowledge(const ContentAnalysisAcknowledgement& ack) override; 22 int CancelRequests(const ContentAnalysisCancelRequests& cancel) override; 23 }; 24 25 } // namespace sdk 26 } // namespace content_analysis 27 28 #endif // CONTENT_ANALYSIS_BROWSER_SRC_CLIENT_MAC_H_