tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

scoped_print_handle_base.h (695B)


      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_BASE_H_
      6 #define CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_BASE_H_
      7 
      8 #include "content_analysis/sdk/analysis_agent.h"
      9 
     10 namespace content_analysis {
     11 namespace sdk {
     12 
     13 class ScopedPrintHandleBase : public ScopedPrintHandle {
     14 public:
     15  ScopedPrintHandleBase(const ContentAnalysisRequest::PrintData& print_data);
     16 
     17  size_t size() override;
     18 protected:
     19  size_t size_ = 0;
     20 };
     21 
     22 }  // namespace sdk
     23 }  // namespace content_analysis
     24 
     25 #endif  // CONTENT_ANALYSIS_AGENT_SRC_SCOPED_PRINT_HANDLE_BASE_H_