summaryrefslogtreecommitdiffstats
path: root/third_party/content_analysis_sdk/agent/src/scoped_print_handle_base.cc
blob: 802b553b20527706e929af83eeb1cebf4bb2cca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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.

#include "scoped_print_handle_base.h"

namespace content_analysis {
namespace sdk {

ScopedPrintHandleBase::ScopedPrintHandleBase(
    const ContentAnalysisRequest::PrintData& print_data)
    : size_(print_data.size()) {}

size_t ScopedPrintHandleBase::size() { return size_; }

}  // namespace sdk
}  // namespace content_analysis