scoped_print_handle_posix.h (704B)
1 // Copyright 2023 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_AGENT_SRC_SCOPED_PRINT_HANDLE_POSIX_H_ 6 #define CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_POSIX_H_ 7 8 #include "scoped_print_handle_base.h" 9 10 namespace content_analysis { 11 namespace sdk { 12 13 class ScopedPrintHandlePosix : public ScopedPrintHandleBase { 14 public: 15 ScopedPrintHandlePosix(const ContentAnalysisRequest::PrintData& print_data); 16 ~ScopedPrintHandlePosix() override; 17 18 const char* data() override; 19 }; 20 21 } // namespace sdk 22 } // namespace content_analysis 23 24 #endif // CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_POSIX_H_