summaryrefslogtreecommitdiffstats
path: root/third_party/content_analysis_sdk/agent/src/scoped_print_handle_posix.h
blob: e9125f58eb796a0a3a058bb85993d5722864aedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2023 The Chromium Authors.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_POSIX_H_
#define CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_POSIX_H_

#include "scoped_print_handle_base.h"

namespace content_analysis {
namespace sdk {

class ScopedPrintHandlePosix : public ScopedPrintHandleBase {
 public:
  ScopedPrintHandlePosix(const ContentAnalysisRequest::PrintData& print_data);
  ~ScopedPrintHandlePosix() override;

  const char* data() override;
};

}  // namespace sdk
}  // namespace content_analysis

#endif  // CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_POSIX_H_