xref: /aosp_15_r20/external/pdfium/core/fpdfapi/parser/cpdf_test_document.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2022 The PDFium 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 CORE_FPDFAPI_PARSER_CPDF_TEST_DOCUMENT_H_
6 #define CORE_FPDFAPI_PARSER_CPDF_TEST_DOCUMENT_H_
7 
8 #include "core/fpdfapi/parser/cpdf_document.h"
9 #include "core/fxcrt/retain_ptr.h"
10 
11 class CPDF_Dictionary;
12 
13 class CPDF_TestDocument : public CPDF_Document {
14  public:
15   CPDF_TestDocument();
16 
17   void SetRoot(RetainPtr<CPDF_Dictionary> root);
18 };
19 
20 #endif  // CORE_FPDFAPI_PARSER_CPDF_TEST_DOCUMENT_H_
21