scoped_print_handle_base.cc (477B)
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 #include "scoped_print_handle_base.h" 6 7 namespace content_analysis { 8 namespace sdk { 9 10 ScopedPrintHandleBase::ScopedPrintHandleBase( 11 const ContentAnalysisRequest::PrintData& print_data) 12 : size_(print_data.size()) {} 13 14 size_t ScopedPrintHandleBase::size() { return size_; } 15 16 } // namespace sdk 17 } // namespace content_analysis