From f372567fdb84df1c8b2cd3735575d6d9881e7871 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 14 Aug 2015 12:39:55 -0700 Subject: CPDF_ModuleMgr::m_SecurityHandlerMap only used by dead code. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1289693008 . --- core/include/fpdfapi/fpdf_module.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'core/include') diff --git a/core/include/fpdfapi/fpdf_module.h b/core/include/fpdfapi/fpdf_module.h index bfa051ed4c..2f88644041 100644 --- a/core/include/fpdfapi/fpdf_module.h +++ b/core/include/fpdfapi/fpdf_module.h @@ -50,17 +50,9 @@ class CPDF_ModuleMgr { CCodec_ModuleMgr* GetCodecModule() { return m_pCodecModule; } void InitPageModule(); - void InitRenderModule(); - void SetDownloadCallback(FX_BOOL (*callback)(const FX_CHAR* module_name)); - - FX_BOOL DownloadModule(const FX_CHAR* module_name); - - void NotifyModuleAvailable(const FX_CHAR* module_name); - IPDF_RenderModule* GetRenderModule() const { return m_pRenderModule.get(); } - IPDF_PageModule* GetPageModule() const { return m_pPageModule.get(); } void LoadEmbeddedGB1CMaps(); @@ -75,13 +67,6 @@ class CPDF_ModuleMgr { ICodec_IccModule* GetIccModule(); ICodec_FlateModule* GetFlateModule(); - void RegisterSecurityHandler( - const FX_CHAR* name, - CPDF_SecurityHandler* (*CreateHandler)(void* param), - void* param); - - CPDF_SecurityHandler* CreateSecurityHandler(const FX_CHAR* name); - void SetPrivateData(void* module_id, void* pData, PD_CALLBACK_FREEDATA callback); @@ -93,14 +78,9 @@ class CPDF_ModuleMgr { ~CPDF_ModuleMgr(); CCodec_ModuleMgr* m_pCodecModule; - nonstd::unique_ptr m_pRenderModule; nonstd::unique_ptr m_pPageModule; - FX_BOOL (*m_pDownloadCallback)(const FX_CHAR* module_name); - - CFX_MapByteStringToPtr m_SecurityHandlerMap; - CFX_PrivateData m_privateData; }; -- cgit v1.2.3