diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-29 13:43:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-29 13:43:30 -0700 |
commit | 8a4e286e686c3027f382afb07d3ddcec4610fdd9 (patch) | |
tree | c693cffa5f7969110c4b6b969120e794fe6bbfd7 /core/fxcodec/include/JBig2_DocumentContext.h | |
parent | e0307861b8e55c9f44e947d8bf82b9c16ec9b963 (diff) | |
download | pdfium-8a4e286e686c3027f382afb07d3ddcec4610fdd9.tar.xz |
Move core/fxcodec/codec/include and core/fxcodec/include files up
BUG=pdfium:611
Review-Url: https://codereview.chromium.org/2381063002
Diffstat (limited to 'core/fxcodec/include/JBig2_DocumentContext.h')
-rw-r--r-- | core/fxcodec/include/JBig2_DocumentContext.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/core/fxcodec/include/JBig2_DocumentContext.h b/core/fxcodec/include/JBig2_DocumentContext.h deleted file mode 100644 index d49bdfab8e..0000000000 --- a/core/fxcodec/include/JBig2_DocumentContext.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2016 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef CORE_FXCODEC_INCLUDE_JBIG2_DOCUMENTCONTEXT_H_ -#define CORE_FXCODEC_INCLUDE_JBIG2_DOCUMENTCONTEXT_H_ - -#include <list> -#include <memory> -#include <utility> - -class CJBig2_SymbolDict; - -using CJBig2_CacheKey = std::pair<uint32_t, uint32_t>; -using CJBig2_CachePair = - std::pair<CJBig2_CacheKey, std::unique_ptr<CJBig2_SymbolDict>>; - -// Holds per-document JBig2 related data. -class JBig2_DocumentContext { - public: - JBig2_DocumentContext(); - ~JBig2_DocumentContext(); - - std::list<CJBig2_CachePair>* GetSymbolDictCache() { - return &m_SymbolDictCache; - } - - private: - std::list<CJBig2_CachePair> m_SymbolDictCache; -}; - -#endif // CORE_FXCODEC_INCLUDE_JBIG2_DOCUMENTCONTEXT_H_ |