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

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

Issue 2381063002: Move core/fxcodec/codec/include and core/fxcodec/include files up (Closed)
Patch Set: Rebase to master Created 4 years, 2 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_page/cpdf_colorspace.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/fpdfapi/cpdf_modulemgr.h" 7 #include "core/fpdfapi/cpdf_modulemgr.h"
8 8
9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" 9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h"
10 #include "core/fxcodec/include/fx_codec.h" 10 #include "core/fxcodec/fx_codec.h"
11 11
12 namespace { 12 namespace {
13 13
14 CPDF_ModuleMgr* g_pDefaultMgr = nullptr; 14 CPDF_ModuleMgr* g_pDefaultMgr = nullptr;
15 15
16 } // namespace 16 } // namespace
17 17
18 // static 18 // static
19 CPDF_ModuleMgr* CPDF_ModuleMgr::Get() { 19 CPDF_ModuleMgr* CPDF_ModuleMgr::Get() {
20 if (!g_pDefaultMgr) 20 if (!g_pDefaultMgr)
(...skipping 27 matching lines...) Expand all
48 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : nullptr; 48 return m_pCodecModule ? m_pCodecModule->GetJbig2Module() : nullptr;
49 } 49 }
50 50
51 CCodec_IccModule* CPDF_ModuleMgr::GetIccModule() { 51 CCodec_IccModule* CPDF_ModuleMgr::GetIccModule() {
52 return m_pCodecModule ? m_pCodecModule->GetIccModule() : nullptr; 52 return m_pCodecModule ? m_pCodecModule->GetIccModule() : nullptr;
53 } 53 }
54 54
55 CCodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() { 55 CCodec_FlateModule* CPDF_ModuleMgr::GetFlateModule() {
56 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : nullptr; 56 return m_pCodecModule ? m_pCodecModule->GetFlateModule() : nullptr;
57 } 57 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/fpdfapi/fpdf_page/cpdf_colorspace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698