event_posix.h (806B)
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_SRC_EVENT_POSIX_H_ 6 #define CONTENT_ANALYSIS_SRC_EVENT_POSIX_H_ 7 8 #include "event_base.h" 9 10 namespace content_analysis { 11 namespace sdk { 12 13 // ContentAnalysisEvent implementaton for linux. 14 class ContentAnalysisEventPosix : public ContentAnalysisEventBase { 15 public: 16 ContentAnalysisEventPosix(const BrowserInfo& browser_info, 17 ContentAnalysisRequest request); 18 19 // ContentAnalysisEvent: 20 ResultCode Send() override; 21 std::string DebugString() const override; 22 23 // TODO(rogerta): Fill in implementation. 24 }; 25 26 } // namespace sdk 27 } // namespace content_analysis 28 29 #endif // CONTENT_ANALYSIS_SRC_EVENT_POSIX_H_