#include "core/fpdfapi/parser/object_tree_traversal_util.h"
#include <stdint.h>
#include <map>
#include <queue>
#include <set>
#include <utility>
#include <vector>
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fxcrt/check.h"
#include "core/fxcrt/containers/contains.h"
#include "core/fxcrt/unowned_ptr.h"
namespace {
class ObjectTreeTraverser { … };
}
std::set<uint32_t> GetObjectsWithReferences(const CPDF_Document* document) { … }
std::set<uint32_t> GetObjectsWithMultipleReferences(
const CPDF_Document* document) { … }