Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: core/fpdfapi/fpdf_basic_module.cpp

Issue 1805603002: core/include/fdpfapi cleanup Part I. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/include/fpdfapi/fpdf_module.h" 7 #include "core/fpdfapi/include/cpdf_modulemgr.h"
8
9 #include "core/fpdfapi/ipdf_rendermodule.h"
8 #include "core/include/fxcodec/fx_codec.h" 10 #include "core/include/fxcodec/fx_codec.h"
9 11
10 namespace { 12 namespace {
11 13
12 CPDF_ModuleMgr* g_FPDFAPI_pDefaultMgr = nullptr; 14 CPDF_ModuleMgr* g_FPDFAPI_pDefaultMgr = nullptr;
13 15
14 } // namespace 16 } // namespace
15 17
16 // static 18 // static
17 CPDF_ModuleMgr* CPDF_ModuleMgr::Get() { 19 CPDF_ModuleMgr* CPDF_ModuleMgr::Get() {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 55 }
54 ICodec_Jbig2Module* CPDF_ModuleMgr::GetJbig2Module() { 56 ICodec_Jbig2Module* CPDF_ModuleMgr::GetJbig2Module() {
55 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : NULL; 57 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : NULL;
56 } 58 }
57 ICodec_IccModule* CPDF_ModuleMgr::GetIccModule() { 59 ICodec_IccModule* CPDF_ModuleMgr::GetIccModule() {
58 return m_pCodecModule ? m_pCodecModule->GetIccModule() : NULL; 60 return m_pCodecModule ? m_pCodecModule->GetIccModule() : NULL;
59 } 61 }
60 ICodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() { 62 ICodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() {
61 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : NULL; 63 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : NULL;
62 } 64 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698