summaryrefslogtreecommitdiffstats
path: root/third_party/content_analysis_sdk/agent/src/scoped_print_handle_base.h
blob: 1ae20381d76c97a7fcfe829bb52ec96c5d4c1b91 (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
25
// 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_BASE_H_
#define CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_BASE_H_

#include "content_analysis/sdk/analysis_agent.h"

namespace content_analysis {
namespace sdk {

class ScopedPrintHandleBase : public ScopedPrintHandle {
 public:
  ScopedPrintHandleBase(const ContentAnalysisRequest::PrintData& print_data);

  size_t size() override;
 protected:
  size_t size_ = 0;
};

}  // namespace sdk
}  // namespace content_analysis

#endif  // CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_BASE_H_